SPC :
counsel M-xSPC ;
evaluate elisp expressionC-`
toggle popup (scratch, terminal, magit, etc)
SPC SPC
blink cursor line:
command modei
insert modeI
insert beginning of linea
insert mode (append)A
append end of linev
visual modeV
linewise visual modeC-v
block visual mode
h/j/k/l
left/down/up/rightw/W
word / blank separated word (everything but space)e/E
end of word / bswb/B
backward word/ bswL
end of lineH
first non-whitespace characterG
go to last linegg
go to first linef/F<c>
move to next / prev character ’c’t<c>
move to but not including next / prev character ’c’<a>i<o>
perform action inside objectciw
change worddi"
delete inside quotes
<a>a<o>
perform action on entire object (include surrounding space/quote/brace/etc)ciw
change word including trailing spacedi"
delete quotes, text inside, and trailing space
g<h/j/k/l>
vim easymotion left/down/up/right
c<m>
changed<m>
deletey<m>
yankp
pasteo
new line below / insertO
new line above / insertD
delete from cursor to end of linedd
delete lineC
change from cursor to end of linecc
change lineJ
join line with next
sf
surround functions<b>
surround with e.g. (,[,{,<,“,’gc
comment selected textv
expand visual regiono
move to other end of selected regiony
copy selected textd
delete selected text~
switch case</>
increase / decrease indentionJ
move up lineK
move down lineA
append each selection in blockI
insert each selection in blockR
replace each selection in blocku
undo within region
C-u/C-d
move half screen up / downC-f/C-b
move full screen up / downC-f
avy goto char timer%
move to matching brace{/}
move to prev / next paragraphz<t/./b>
move screen where cursor is at top/center/bottomC-o/C-i
- jump back / forward in history
m<c>
Create mark- lowercase - buffer specific
- uppercase - global to open buffers
'<c>
Jump to mark (beginning of line)`<c>
Jump to mark (exact position)
gcc
comment current linegc<m>
comment using motion (e.g. gc5j comment current line + 5 below)
SPC f f
create / open fileSPC f F
sudo open fileSPC f c
copy filesSPC f C
copy current fileSPC f r
recent filesSPC f R
rename current fileSPC f d
delete fileSPC f D
delete current fileSPC f E
edit current file with sudoSPC f s
save current bufferSPC f S
save all buffersSPC f t
toggle neotreeSPC f y
show and copy filename
SPC /
search in projectSPC ?
search from hereSPC s s
swiper (search in file)SPC j d
dumb-jump go to definitionSPC j D
dumb-jump go to definition other windowSPC j o
search online for text (choose provider)
SPC l l
create / switch workspaceSPC l d
delete workspaceSPC l TAB
switch last workspaceSPC l s
manually save workspaces
SPC b TAB
switch previous buffer (workspace)SPC b b
switch buffer (workspace)SPC b B
switch buffer (global)SPC b d
delete bufferSPC b D
delete other buffers (workspace)SPC b n
open new blank bufferSPC b s
popup scratch buffer
SPC w h/j/k/l
switch to window left/down/up/rightSPC w H/J/K/L
swap window left/down/up/rightSPC w -
split window horizontallySPC w /
split window verticallySPC w m
toggle maximize current windowSPC w d
delete current windowSPC w D
ace delete windowSPC w u/U
winner undo / redoSPC w s
winner swap windowSPC w =
balance windowsSPC W
ace window
SPC p f
find file in projectSPC p r
project based recent filesSPC /
search entire project using rgSPC p l
create / switch project layoutSPC p t
open project neotreeSPC p a
show TODOs in projectSPC p k
kill buffers in projectSPC p '
open term in projectSPC p !
run command in project root
SPC g s
open magit status bufferSPC g b
git blameSPC g t
git time machineSPC g l
git logSPC g y
copy external link to file and lineSPC g g r/R
create gist from region public/privateSPC g g b/B
create gist from buffer public/private
M-q
swiper query replaceM-n/p
navigate next/previous through history
C-j/k
next/previous elementC-o
show alternate actions
C-c C-,
Insert templates (easy for code blocks)