You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This plugin provides an alternate behavior for Sublime keyboard column selection. I often found it challenging to select columns with lines that were shorter than the rest.
3
+
This plugin provides an alternate behavior for Sublime keyboard column selection. The differences are:
5
4
6
-
Downloading
7
-
-----------
5
+
* Allows reversing direction (go down too far, just go back up).
6
+
* Added PageUp/PageDown, Home/End, and mouse selection.
7
+
* Skip rows that are too short.
8
+
* If you start at the end of a line, then it will stay at the end of each line.
9
+
10
+

11
+
12
+
## Installing
8
13
The best way to download and install Sublime Column Select is to use the Package Control plugin. If you do not already have it installed, it's really the best way to manage your packages.
9
14
10
15
For users new to the package manager:
@@ -24,37 +29,20 @@ Alternatively, you can fetch from github:
24
29
25
30
and place it in your packages directory.
26
31
27
-
Configuring
28
-
-----------
29
-
No need to configure anything. By default it uses the default keystroke for column selection, plus a few extras. These keystrokes will select the same column in the next or previous line, page, or until the beginning/end of the document.
30
-
31
-
Windows:
32
-
33
-
- Ctrl-Alt-Up / Ctrl-Alt-Down: Up/down one line.
34
-
- Ctrl-Alt-PageUp / Ctrl-Alt-PageDown: Up/down one page.
35
-
- Ctrl-Alt-Home: Up until the beginning of the document.
36
-
- Ctrl-Alt-End: Down until the end of the document.
37
-
38
-
- Ctrl-Alt-Right-click: Select current column in all lines from the cursor to the row where you clicked.
39
-
40
-
Linux:
32
+
## Usage
33
+
By default it uses the default keystroke for column selection, plus a few extras. These keystrokes will select the same column in the next or previous line, page (the visible region of the file), or until the beginning/end of the file.
41
34
42
-
- Alt-Shift-Up / Ctrl-Alt-Down: Up/down one line.
43
-
- Alt-Shift-PageUp / Ctrl-Alt-PageDown: Up/down one page.
44
-
- Alt-Shift-Home: Up until the beginning of the document.
45
-
- Alt-Shift-End: Down until the end of the document.
46
-
47
-
- Ctrl-Alt-Right-click: Select current column in all lines from the cursor to the row where you clicked.
48
-
49
-
OS X:
50
-
51
-
- Ctrl-Shift-Up / Ctrl-Alt-Down: Up/down one line.
52
-
- Ctrl-Shift-PageUp / Ctrl-Alt-PageDown: Up/down one page.
53
-
- Ctrl-Shift-Home: Up until the beginning of the document.
54
-
- Ctrl-Shift-End: Down until the end of the document.
55
-
56
-
- Ctrl-Shift-Right-click: Select current column in all lines from the cursor to the row where you clicked.
35
+
Command | Mac | Windows | Linux
36
+
------- | --- | ------- | -----
37
+
Up | Ctrl + Shift + Up | Ctrl + Alt + Up | Alt + Shift + Up
38
+
Down | Ctrl + Shift + Down | Ctrl + Alt + Down | Alt + Shift + Down
39
+
Page Up | Ctrl + Shift + PageUp | Ctrl + Alt + PageUp | Alt + Shift + PageUp
40
+
Page Down | Ctrl + Shift + PageDown | Ctrl + Alt + PageDown | Alt + Shift + PageDown
41
+
Beginning of file | Ctrl + Shift + Home | Ctrl + Alt + Home | Alt + Shift + Home
42
+
End of file | Ctrl + Shift + End | Ctrl + Alt + End | Alt + Shift + End
43
+
Select to mouse cursor | Ctrl + Shift + Right-click | Ctrl + Alt + Right-click | Ctrl + Alt + Right-click
57
44
45
+
### Custom Keystrokes
58
46
59
47
If you want to use a different keystroke, go to "Preferences" then "Key Bindings - User", and add an entry like this:
60
48
@@ -67,13 +55,6 @@ If you want to use a different keystroke, go to "Preferences" then "Key Bindings
67
55
68
56
Do not include the trailing comma if it is the last entry.
69
57
70
-
Using
71
-
-----
72
-
You should be able to place the character on any position on the line, and then use the keystrokes to add additional carets (cursors) to the next/previous lines. It will skip over lines that are too short.
73
-
74
-
It will behave differently if the cursor is at the end of the line. In this case, it will select the end of every line.
75
-
76
-
Contact
77
-
-------
58
+
## Contact
78
59
If you find a bug, or have suggestions, head over to the github page:
0 commit comments