c-e : show/hide nerdtree
< space> e : location current file in tree
find file/buffer/function/mru
c-p: start ctrlp
F5: refresh cache
c-f/c-b: switch mode(file/buffer/function/mru)
c-j/c-k: selected down/up
c-t: open selected in new tab
c-v: open selected in split |
c-x: open selected in split -
c-o: open selected in split |
c-z: makr/unmark file, next operation is open selected file
c-n/c-p: select history cmd in prompt
c-d: filename search or full path search
easy to add/delete with {("")}
_cs_
cs"' --> csAB: replace A to B,eg: "ab" to 'ab'
cs"<p>, eg: "ab" to <p>ab</p>
cst", eg: <p>ab</p> to "ab"
_ds_
ds" --> dsA: delete A pair, eg:{abc} to abc
nerdcommenter
<Space>c<Space> comment
<Space>cc/cu comment to one line
<Space>tt: show/hide tagbar
ctags -R; in dir of project
c-]/c-t: jump to declaration and define
<Space><Space>w // w mode,
<Space><Space>b
<Space><Space>j
<Space><Space>k
<Space><Space>s // search
<Space><Space>fa // f mode, search a