set tabstop=2 sw=2 set ai wrapmargin=0 wraplen=70 set searchincr wrapscan magic extended set ruler number showmode showmatch leftright sidescroll=4 set autowrite set lock "set nomesg " ^[OP :: F1 , ^[OQ :: F2 map OP :set ai wm=0 wl=70 map OQ :set noai wm=0 wl=0 " paragraph delete & copy map d {d} map y {y} map  :set number map n :set nonumber " shorter cuts for shortcuts map Q :q! map  :w! map z :wq map \ J " space cleaning map S :%s/[ ]+$// map s :s/[ ]+$// " ---- " External functions " ---- " [...] is a key sequence, ignore the brackets " C-x is typed by simultaneously pressing "Ctrl" and "x" keys " , are "escape" and "enter" keys, respectively " ---- map p !'psort -bf -k1 " Invoke aspell... " ---- " [C-v,C-x] :w![C-v,]:/usr ... %[C-v,]:e! %[C-v,] " ---- map  :w! :!aspell --sug-mode=normal --dont-backup --ignore-case check % :e!% "map  :w! :!aspell check % :e! % " Map E to invoke fmt to wrap pargraph at 68 charasters " ---- " [C-v,C-] :w![]|}/usr ... 68[C-v,] " ---- map E !}/usr/bin/fmt -c -68