You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

34 lines
468 B

Enter word under cursor into cmdline:
CTRL-R CTRL-W
(:help c_CTRL-R)
Rewrap text (reformat):
gq
Remove duplicates from file:
vim ~/.ssh/authorized_keys +":sort u|wq"
N ctrl-^ goes to buffer N
Centre current line on screen:
zz
Newrw:
- fixed on left: :20Lexplore
- change to tree: i
- toggle .hidden files: gh
Config
======
Start Vim without reading .vimrc:
vim -u NONE
Minimal sane config:
set encoding=utf-8
set nocompatible
set background=dark
set hidden