Skip to content

Instantly share code, notes, and snippets.

@haya14busa
Created October 11, 2013 15:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haya14busa/6937282 to your computer and use it in GitHub Desktop.
Save haya14busa/6937282 to your computer and use it in GitHub Desktop.
" For Undo Revision, Break Undo Sequence "{{{
inoremap <CR> <C-]><C-G>u<CR>
inoremap <C-h> <C-g>u<C-h>
inoremap <BS> <C-g>u<BS>
inoremap <Del> <C-g>u<Del>
inoremap <C-d> <C-g>u<Del>
inoremap <C-w> <C-g>u<C-w>
inoremap <C-u> <C-g>u<C-u>
"}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment