Some of my favorite tools: arch linux, vim.
l
/
k
/
j
/
h
- i :
insert mode - o :
insert a new line and start insert mode - : + 1 :
beginning of a file - G :
end of a file - 0 :
beginning of a line - $ :
end of a line - ctrl + w, s :
split horizontally - ctrl + w, v :
split vertically - ctrl + w, arrow :
move between panels- ctrl + w, ctrl + w :move between panels- ctrl + w, q :close a panel - :vertical resize +10 :
horizontal increase - F2 :
toggle NerdTree - F3 :
cycle NerdTree - F3, m, a :
create a new file from NerdTree - shift + r :
refresh NerdTree - g + c :
toggle comments - d + d :
delete the current line - d + w :
delete the next word - d + → :
delete the character after cursor - d + ← :
delete the character before cursor - b :
beginning of present or previous word - w :
beginning of next word - e :
end of present word - ea :
append at the end of word - A :
append at the end of line - b + v + e :
select the current word - d + a + w :
delete the current word - c + a + w :
delete the current word, and insert - y :
copy the selected characters - yy :
copy the entire line - “ + + + y :
copy to clipboard - u :
undo - ctrl + r :
undo the undo - P :
paste before the cursor - p :
paste after - /, n :
find, and next - :%s/old/new/gc :
find, and replace - . :
prepend in comparison with the line above - ctrl + n, i :
expand selection, and edit - ctrl + z :
go back to terminal - fg :
come back to vim - ctrl + p :
in insert mode, autocomplete - ctrl + p :
in visual mode, fuzzy file search - ctrl + p, p :
in visual mode, repeat fuzzy file search - space + w :
:w - space + q :
:q - NUMBER + >:
indent the visual select lines