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
:dif­fget RE|­BA­|LO
get the chunk from REMOT­EBA­SE­|L­OCAL buffer
(on a git merge conflict, run git merget­ool; 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 prev­ious tab
Alt+K
go to next tab
Ctrl+T
go to last tab
Ngt
go to #N tab
           

Help Us Go Positive!

We offset our carbon usage with Ecologi. Click the link below to help us!

We offset our carbon footprint via Ecologi
 

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