-
Notifications
You must be signed in to change notification settings - Fork 0
/
dotSIS-keybinds.txt
149 lines (140 loc) · 5.82 KB
/
dotSIS-keybinds.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
dotSIS keybinds:
[Tmux]
-outside_commands
tmux............. launch
tmux new -s<new>. launch new session with session name
tmux attach...... launch and attach to last session
tmux attach -t<n> launch and attach to session name
tmux ls.......... list active sessions
-inside_actions
ALT+space........ leader
leader+r......... source tmux
leader+SHFT+i.... install plugins
leader+c......... new session
leader+SHFT+7.... kill session
leader+<#>....... switch to session #
leader+SHFT+[.... copy mode
leader+[......... split pane horizon
leader+]......... split pane vertical
ALT+<j/k>........ move cursor up/down to another pane
CTRL+<h/j/k/l>... move cursor to another pane with direction
leader+q<#>...... show and swtich to pane #
leader+z......... toggle pane to full/window
:new............. launch new session
leader+s......... show active sessions
leader+w......... show active sessions and preview panes
SHFT+ALT+<h/l>... cycle through windows
[NeoVim]
space............ leader
CTRL+n........... toggle treesitter
*NORMAL*
-modes
i................ INSERT mode
;/:.............. COMMAND mode
v................ VISUAL mode
CTRL+v........... V-BLOCK mode
SHFT+v........... V-LINE mode
-movements
h................ move cursor left
j................ move cursor down
k................ move cursor up
l................ move cursor right
<#>h/j/k/l....... move cursor to direction # times
gg............... move cursor to first line
SHFT+g........... move cursor to last line
<#>SHFT+g........ move cursor to line #
w................ move cursor to the beggining of next word
e................ move cursor to the end of next word
b................ move cursor back to the beggining of previous word
SHFT+[........... move cursor paragraph down
SHFT+]........... move cursor paragraph up
CTRL+d........... scroll half page down
CTRL+u........... scroll half page up
-actions
leader+e......... move cursor to treesitter
y................ yank/copy
yw............... yank/copy from cursor
yiw.............. yank/copy word on cursor
yaw.............. yank/copy word and space on cursor
yap.............. yank/copy paragraph and space on cursor
yi<spChar>....... yank/copy all inside special character
ya<spChar>....... yank/copy all including special character
yy............... yank/copy entire line
p................ dump/paste
a................ append
SHFT+a........... appends to the end of line
SHFT+i........... appends to the beggining of line
o................ appends to the next empty line
SHFT+o........... appends to the previous empty line
dw............... deletes from cursor
de............... deletes from cursor leaving a space
db............... deletes from cursor backward
dd............... deletes the entire line
ddp.............. swap current line and below
d,SHFT+4......... delete all from cursor to the end of line
d,0.............. delete all from cursor to the beggining line
cw............... deletes from cursor and append
ce............... deletes from cursor leaving a space and append
cb............... deletes from cursor backward and append
cc............... deletes entire line and append
c,SHFT+4......... deletes all from cursor to the end of line and append
c,0.............. deletes all from cursor to the beggining of line and append
viw.............. selects word on cursor
vaw.............. selects word and space on cursor
vi<spChar>....... selects all inside special character
va<spChar>....... selects all including special character
diw.............. deletes word on cursor
daw.............. deletes word and space on cursor
di<spChar>....... deletes all inside special character
da<spChar>....... deletes all including secial character
ciw.............. deletes word on cursor and append
caw.............. deletes word and space on cursor and append
ci<spChar>....... deletes all inside special character
ca<spChar>....... deletes all including special character
vip.............. highlight inside paragraph
vap.............. highlight outside paragraph
dip.............. delete inside paragraph
dap.............. delete outside paragraph
cip.............. delete inside paragraph and append
cap.............. delete outside paragraph and append
zz............... centers line on cursor
gc............... comments selected lines
</>.............. indent/unindent a block of code
g,CTRL+a......... increment highlighted texts
SHFT+zz.......... hides all buffer
q<key>........... enters MACRO mode and save actions to the key
-search
SHFT+8........... searches word on cursor
/<word>.......... searches word
n................ next result
p................ previous result
:%s/<word>/<new>. replace all word with new
leader+cs........ search whole file for word on cursor and replace
*VISUAL*
u................ lower case selected
SHFT+u........... upper case selected
CTRL+j........... move highlighted line down
CTRL+k........... move highlighted line up
g+?.............. rot13 highlighted
*COMMAND*
ESC.............. exit command mode
;/:w............. write changes
;/:q............. quit vim/nvim
;/:wq............ write changes and quit vim/mvim
;/:q!............ force quit vim/nvim without writing changes
-treesitter
h................ move cursor left
j................ move cursor down
k................ move cursor up
l................ move cursor right
<#>h/j/k/l....... move cursor to direction # times
gg............... move cursor to first file/dir
SHFT+g........... move cursor to last file/dir
o................ open file/dir
a................ create file/dir
r................ rename file/dir
d................ delete file/dir
CTRL+x........... open file on vertical split
CTRL+v........... open file on horizontal split
CTRL+w+q......... close split
leader+cx........ make file(sh) executable