Cheatography
https://cheatography.com
Vim Custom Personal Shortcuts
CtrlP / FZF
Ctrl+P |
open file search (CtrlP) |
Alt+P |
open tag jump (Ag) |
Ctrl+L |
open text search (FZF +Ag) |
Ctrl+F |
open current word search (FZF +Ag) |
↳ Enter |
open result in current buffer |
↳ Ctrl+T |
open result in new tab |
↳ Ctrl+O |
go back to last position |
Git mergetool
]c |
go to next conflict chunk |
[c |
go to previous conflict chunk |
:diffget RE|BA|LO |
get the chunk from REMOTE|BASE|LOCAL buffer |
( on a git merge conflict, run git mergetool
; resolve any conflicts and then git commit
)
Custom Commands
:Isort |
sort python imports (all or visual block) |
|
|
NERDTree
Ctrl+N |
toggle NERDTree |
Alt+V |
Find current file in NERDTree |
↳ Enter |
open in current buffer |
↳ t |
open in new tab |
↳ s |
open in vertical split |
↳ m |
open node menu |
Tagbar
Ctrl+M or Enter (NORMAL mode) |
toggle Tagbar |
↳ Enter |
go to function or var |
↳ p |
preview function or var |
zM |
close all folds |
Tabs
Alt+J |
go to previous tab |
Alt+K |
go to next tab |
Ctrl+T |
go to last tab |
Ngt |
go to #N tab |
|
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets