How to make a column selection over the entire file?

Is it possible to use a middle click or perhaps ( Ctrl + Alt + Up ) for a specific column in all lines in a long file? Currently, I click in the middle and then drag it to the end of the screen and wait for it to select all the rows.

In particular, for long files, how to choose one specific column for the entire file?

+47
sublimetext2 sublimetext sublimetext3
Apr 09 '12 at 21:35
source share
3 answers

This should do it:

  • Ctrl+A - select all.
  • Ctrl+Shift+L - split the selection into lines.
  • Then move all the cursors with left/right , select with Shift+left/right . Move all cursors to the beginning of the line using Home .
+120
Apr 10 2018-12-12T00:
source share
— -

On Mac OS X, replace Ctrl with the CMD key. It will be so

CMD + A - select all. CMD + Shift + L - split the selection into lines. Then move all the cursors left / right, select with Shift + left / right. Move all cursors to the beginning of the line using Home.

+1
Mar 18 '16 at 4:24
source share

OS X

You can click the following command and drag to create a selection of one or more columns of characters:

  • Left mouse button + option
  • Middle mouse button

To add an existing selection, hold command while doing the above.

To subtract from the existing selection, hold command + shift , doing the above

Window

You can click the following command and drag to create a selection of one or more columns of characters:

  • Right mouse button + shift
  • Middle mouse button

To add an existing selection, hold Ctrl while performing the above steps.

To subtract from an existing selection, hold Alt while doing the above.

+1
Sep 28 '16 at 6:11
source share



All Articles