Is there any way to select column with keyboard shortcut and expand selection till the end of each line?
Currently, when cursor reaches the end of the line it jumps to the beginning of the next one.
How can I avoid this behavior without using mouse?
Dragging with the middle button / mouse wheel will do a column selection. You can use Ctrl and Alt with this too. Shift+Right mouse button is an alternative way to initial a column select. Dragging in the gutter (where the line numbers are), will select entire lines at once.
To add all occurrences of the current word to the selection, use Find All: Windows/Linux: Alt+F3. Mac: ⌃+⌘+G.
Don't know about a shortcut, but you can do CTRL+Left Click(mouse) at the beginning and end of a block. And I just noticed that you can select (highlight) a block anything and start typing, it will add your text at the beginning and end of the selected text.
To select a line of text, place your cursor at the start of the line, and press Shift + down arrow. To select a paragraph, place your cursor at the start of the paragraph, and press Ctrl + Shift + down arrow.
If I've understood your question correctly, you can do that with the following keys (example with OS X keybindings):
The related keybindings for all OS's: http://www.sublimetext.com/docs/2/column_selection.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With