Sublime Forum

Multiple selection behavior

#1

I like multiple selection very much however i wish i could modify its behavior slightly.

Here is what I want to do; i have multiple lines that I want to edit:

First
Second
Third
The Forth

which i want to change them to the following using multiple selection:

process(‘First’)
process(‘Second’)
process(‘Third’)
process(‘The Forth’)

Typing the first part process(’ is easy. But the second part ') is not because of the different line lengths with which the multiple selection goes the next line.

A solution would be to make the multiple selection stop at the end of each line and not go to the next line.

0 Likes

#2

In this case, type the first part “process(’”, press the END key and then type the end bit “’)”. Doing it this way will ensure that the multiple selection will not go to the next line. If you use the arrow keys (or ctrl and arrow keys), you will go to the next line in some cases.

I found that it took a little bit of time to learn how to efficiently use the multiple select, but I cannot live without it now. Often HOME, END and skipping words with ctrl and the arrow keys will resolve any multi-select issues.

0 Likes

#3

I see. Thanks a lot.

0 Likes

#4

Amen!

0 Likes