When you want Insert Mode Paste, cancel auto Indent
:set paste
:set nopaste
History
q:
q\
q?
Tab
tc "create new tab
tx "close current tab
tn "move to next tab
tp "move to previous tab
:tabonely "close without current tabUnite
<C-u><C-u>: file/rec<C-u><C-d>: dir<C-u><C-t>: vim tag<C-u><C-f>: exploer<C-]>: ctags jump<C-t>: jump history
Filer
- E: edit file with split
git
<Space>gd: git diff<Space>gs: git status<C-C>: git commit<Space>gb: git blame:Gbrowse: Open github with target line
complement
tab
sunippet
html
ruby
,r: RuboCop
rails
<C-H><C-H>: show controllers list<C-H><C-V>: show views list<C-H><C-M>: show models list<C-H>j: show javascripts list<C-H>s: show stylesheets list<C-H>c: show config list<C-H>d: show db list<C-H>l: show lib list
rspec
,t : run current spec file
,s : run nearest spec
,l : run last spec
,a : run all spec
other usage
<Esc><Esc>: escape highlight<C-t>: trim white space:Codic <args>saerch variable words<C-c>: yank clipbord (mac osx only)<C-P>: Yank Ringcs'": srround'to"ds': delete srround'csw': srround':ag: grep:FixWhitespace: Trim white space