Vim cheatsheet

:%s/foo/bar/g replace string
open new file to vplit window from netrw
gf go to file (current window) from netrw
yank/copy lines
p paste from yanked/clipboard
gg go to top
GG go to bottom
% match bracket
Ctrl-e open Vexplorer left side after new tab
:1316 go to line number


Leave a Reply

Your email address will not be published. Required fields are marked *