diff --git a/vimrc b/vimrc index ab747a7..f9aeee6 100644 --- a/vimrc +++ b/vimrc @@ -182,8 +182,14 @@ iab KREN_EMERG KERN_EMERG map e :read " List current buffers map :buffers -" Reformat selected text -" map gq +" Reformat selected text; normal mode only so we don't accidentally wrap a +" paragraph by typing that string! +nmap wp 0v$gq + +nmap cw y/ + +" Save +map :w " Needed because PuTTY doesn't seem to send the usual ctrl-up/down sequences map [A