diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-07-12 22:01:11 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-07-12 22:01:11 +0200 |
commit | 30b658179962cc3c9f0a98f071b36b09a36c2b94 (patch) | |
tree | 65394aa7dfead6c415065471e17fefce6c8cd242 /runtime/mswin.vim | |
parent | dfef15481db114779fde81dc577319d88557c13a (diff) | |
download | vim-git-30b658179962cc3c9f0a98f071b36b09a36c2b94.tar.gz |
Updated runtime files.
Diffstat (limited to 'runtime/mswin.vim')
-rw-r--r-- | runtime/mswin.vim | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/mswin.vim b/runtime/mswin.vim index 1ceef847e..02edfbc4e 100644 --- a/runtime/mswin.vim +++ b/runtime/mswin.vim @@ -1,7 +1,7 @@ " Set options and add mapping such that Vim behaves a lot like MS-Windows " " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last change: 2006 Apr 02 +" Last change: 2012 Jun 13 " bail out if this isn't wanted (mrsvim.vim uses this). if exists("g:skip_loading_mswin") && g:skip_loading_mswin @@ -42,9 +42,10 @@ cmap <S-Insert> <C-R>+ " Visual mode without the +virtualedit feature. They are pasted as if they " were characterwise instead. " Uses the paste.vim autoload script. +" Use CTRL-G u to have CTRL-Z only undo the paste. -exe 'inoremap <script> <C-V>' paste#paste_cmd['i'] -exe 'vnoremap <script> <C-V>' paste#paste_cmd['v'] +exe 'inoremap <script> <C-V> <C-G>u' . paste#paste_cmd['i'] +exe 'vnoremap <script> <C-V>' . paste#paste_cmd['v'] imap <S-Insert> <C-V> vmap <S-Insert> <C-V> |