Show Menu
Cheatography

neovim Edualb Cheat Sheet (DRAFT) by

neovim configuration shortcuts -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- = key = key = key = key N = NORMAL mode V = VISUAL mode I = INSERT mode

This is a draft cheat sheet. It is a work in progress and is not finished yet.

vim

( N ) i
Insert mode
( N ) <C-­v>
Visual mode
( N ) <S-­v>
Visual mode selecting line
( N ) u
Equivalent to CTRL + Z (Undo)
( N ) <C-­r>
Equivalent to CTRL + SHIFT + Z (Redo)
( V ) y
Copy block of code
( V ) d
Cut block of code
( N ) p
Paste block of code
( N ) / <wo­rd>
Search for a word (n - Next | N - Previous)

plugins

( N ) <le­ade­r> pi
Install plugins
( N ) <le­ade­r> pud
Updagrade plugins
( N ) <le­ade­r> pug
Updagrade plugin manager

git

( N ) <le­ade­r> gd
Open git diff view
( N ) <le­ade­r> gc
Close git diff view

terminal

( N ) <le­ade­r> tt
Open terminal window
 

browser files and folders

( N ) <le­ade­r> tb
Browser files
( N ) <le­ade­r> tb | <ES­C> c
Create file or folder (/)
( N ) <le­ade­r> tb | <ES­C> d
Delete file or folder (/)
( N ) <le­ade­r> tb | <ES­C> r
Rename file or folder (/)
( N ) <le­ade­r> tg
Search word in files
( N ) <le­ade­r> xw
Find troubles in files
( N ) <le­ade­r> xd
Find trouble in the file
( N ) <le­ade­r> xc
Close trouble browser

tab bar navigation

( N ) <A-­LEF­T>
Go to left tab
( N ) <A-­RIG­HT>
Go to right tab
( N ) <A-­p>
Pin / Unpin tab
( N ) <A-­c>
Close tab

comments

( N | V ) <le­ade­r> cc
Comment a line
( N | V ) <le­ade­r> cs
Comment selected lines
( N | V ) <le­ade­r> cu
Uncomment selected lines