vim
editing.txt
^^edit the alternate file
motion.txt
operator
cchangeddeleteyyankg~swap case (~with'tildeop')gulowercasegUuppercase!filter through external program=indentgqformat text<>shift
left-right-motions
h,l: single steps0,^: first (non-blank)$: lastg0,g^,g$: same for screen linesf,t: find in line (till)F,T: backwards;,,: repeat (backwards)
up-down-motions
j,k: single stepsgj,gk: up/down display linesG: go to[count](default last) linegg: go to first linego: go to[count]byte
word-motions
w,e,b,ge: forward/back start/end of wordW,E,B,gE: same for WORD
object-motions
(,): sentences{,}: paragraphs
text-objects
aw,aW: a word, WORDiw,iW: inner word, WORDas,is: a sentence, inner sentenceap,ip: a paragraph, inner paragraphat,it: a tag
jump-motions
CTRL-O,CTRL-I: back, forward in jump list:ju[mps]: show jumplistg;,g,: go to previous, next position in the changelist:changes: show changelist
various-motions
H,M,L: Home, Middle, Last line of window
scroll.txt
zz: center current line
insert.txt
i,a: insert, appendA: append to end of lineo,O: new line after/before
pattern.txt
/,?: search (backwards)
windows.txt
1. windows-intro
Buffers can be active, hidden or inactive.
2. windows-starting
vim -o file1 file2open in split-Overtical split'laststatus'= 1statusline only if there is more than one window
3. opening-window
^W sor:spsplit in two^W vor^W ^Vor:vssplit vertically^W nor^W ^Nor:newnew empty window:vne[w]vertical:sv[iew]split and view:sf[ind]split and:findin'path'^W ^^or^W ^:splitand^^the alternate file
4. window-move-cursor
5. window-moving
6. window-resize
7. buffer-list
8. list-repeat
9. window-tag
10. preview-window
11. buffer-hidden
12. special-buffers
pymode.txt
let g:pymode_lint_cwindow = 0: don’t open quickfix window automatically