From d506d6091334e77b3ca06af5c45916835f9af263 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 5 Dec 2011 07:35:57 +0100 Subject: [PATCH] vimrc: Add support to undo Ctrl-U in insert mode. --- vimrc | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.45.2