Show Menu
Cheatography

Vim Custom Shortcuts v1.1 Keyboard Shortcuts by

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
           
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Vim NERDTree Cheat Sheet
          Personal Vim Shortcuts Cheat Sheet
          Shortcuts Cheat Sheet