-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathkeyboardselect.txt
35 lines (34 loc) · 2.26 KB
/
keyboardselect.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Shortcuts in keyboard selection mode:
h, j, k, l: move cursor left/down/up/right (also with arrow keys)
H, M, L: move cursor to the top/middle/bottom of the screen
Home, End: move cursor to the top/bottom of the screen
Backspace or 0, $ or A: move cursor to the beginning/end of the line
^ or I: move cursor to the beginning of the indented line
!: move cursor to the middle of the row
_: move cursor to the right edge of the screen
o: move cursor to the beginning or end of the selection
O: move cursor to the opposite corner of the rectangular selection
w, W jump forward to the start of a word
e, E jump forward to the end of a word
b, B jump backward to the start of a word
g, G: go to the first/last line
z: center the screen on the cursor
PgUp or K, PgDown or J: scroll the page up/down
/, ?: activate input mode and search forward/backward
n, N: repeat last search and search forward/backward
*, #: search forward/backward for the word or selection under the cursor
f, F: jump forward/backward to the given character
t, T: jump forward/backward to before the given character
; or r repeat previous f, t, F or T movement and move forward
, or R repeat previous f, t, F or T movement and move backward
v: toggle selection mode
V: toggle line selection mode
S: toggle regular/rectangular selection type
s: jump to flash mode
y: yank (copy) selected text
Z, X: jump to previous/next shell prompt that contains the OSC "133;A" sequence
u: open hyperlink under the cursor
U: copy hyperlink under the cursor to the clipboard
0 - 9: set the quantifier
Return: quit keyboard_select, yank and keep the highlight of the selection
Escape, q: quit keyboard_select/exit input mode/exit selection mode/reset quantifier