From: Simon Ruderich Date: Mon, 5 Dec 2011 06:35:57 +0000 (+0100) Subject: vimrc: Add support to undo Ctrl-U in insert mode. X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=d506d6091334e77b3ca06af5c45916835f9af263 vimrc: Add support to undo Ctrl-U in insert mode. --- diff --git a/vimrc b/vimrc index 0e55451..9e98ef6 100644 --- a/vimrc +++ b/vimrc @@ -328,6 +328,11 @@ endif " vimgor (bot) in #vim on Freenode (2010-03-30 05:58 CEST). noremap :nohlsearch +" Ctrl-U in insert mode deletes a lot, break undo sequence before deleting the +" line so the change can be undone. Thanks to the vimrc_example.vim file in +" Vim's source. +inoremap u + " ABBREVIATIONS