Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

.vimrc: make ^U and ^W undoable

  • Loading branch information...
commit a47fd75ee3895a0b2d0815069ac0e607e40356eb 1 parent 418802d
@eevee authored
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 = ","
Please sign in to comment.
Something went wrong with that request. Please try again.