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