sublimetext2 - How to use multiple cursors efficiently in this case? -


the stage set: i'm add 3 li s ul , think application of multiple cursors in st2. i'm not sure how this.

at step 1. i'd able is: "open 2 new lines 2 new cursors". don't think possible instead tried opening 2 new lines manually (step 2) , applying multiple cursors using ctrl+shift+up except cursors end in not-so-ideal spot (step 3).

even if hold cmd , click cursors end in same not-so-ideal spot (step 3). question how can efficiently apply multiple cursors situation?

enter image description here

trying harpreet's technique doesn't seem work me: enter image description here

i think open-ended question.

in first attempt, if replace 2 of enters ctrl+shift+d (duplicate_line), find when multi cursor (select_lines), give positioning wanted.

the cause of problem original 3 empty lines aren't same (due whatever indentation mechanism). , best way of using multi-cursor using them on structurally identical lines.

of course in practice, depends on cursor is. example if near other < li >s, might ctrl+shift+d (duplicate_line) few times until 3 new < li >s before ctrl+shift+down (swap_line_down) few times them < ul >.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -