Permalink
Browse files

.vimrc: make ^U and ^W undoable

  • Loading branch information...
1 parent 418802d commit a47fd75ee3895a0b2d0815069ac0e607e40356eb @eevee committed Jul 1, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 .vimrc
View
5 .vimrc
@@ -88,6 +88,11 @@ call pathogen#helptags()
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Bindings
+" Stuff that clobbers default bindings
+" Force ^U and ^W in insert mode to start a new undo group
+inoremap <c-u> <c-g>u<c-u>
+inoremap <c-w> <c-g>u<c-w>
+
" Leader
let mapleader = ","
let g:mapleader = ","

0 comments on commit a47fd75

Please sign in to comment.