Mercurial > vim
comparison runtime/mswin.vim @ 3713:9910cbff5f16
Updated runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 25 Jul 2012 17:49:10 +0200 |
parents | 11d40fc82f11 |
children | 9130644aec5c |
comparison
equal
deleted
inserted
replaced
3712:a0b8a8a9867d | 3713:9910cbff5f16 |
---|---|
1 " Set options and add mapping such that Vim behaves a lot like MS-Windows | 1 " Set options and add mapping such that Vim behaves a lot like MS-Windows |
2 " | 2 " |
3 " Maintainer: Bram Moolenaar <Bram@vim.org> | 3 " Maintainer: Bram Moolenaar <Bram@vim.org> |
4 " Last change: 2012 Jun 13 | 4 " Last change: 2012 Jul 25 |
5 | 5 |
6 " bail out if this isn't wanted (mrsvim.vim uses this). | 6 " bail out if this isn't wanted (mrsvim.vim uses this). |
7 if exists("g:skip_loading_mswin") && g:skip_loading_mswin | 7 if exists("g:skip_loading_mswin") && g:skip_loading_mswin |
8 finish | 8 finish |
9 endif | 9 endif |
43 " were characterwise instead. | 43 " were characterwise instead. |
44 " Uses the paste.vim autoload script. | 44 " Uses the paste.vim autoload script. |
45 " Use CTRL-G u to have CTRL-Z only undo the paste. | 45 " Use CTRL-G u to have CTRL-Z only undo the paste. |
46 | 46 |
47 exe 'inoremap <script> <C-V> <C-G>u' . paste#paste_cmd['i'] | 47 exe 'inoremap <script> <C-V> <C-G>u' . paste#paste_cmd['i'] |
48 exe 'vnoremap <script> <C-V>' . paste#paste_cmd['v'] | 48 exe 'vnoremap <script> <C-V> ' . paste#paste_cmd['v'] |
49 | 49 |
50 imap <S-Insert> <C-V> | 50 imap <S-Insert> <C-V> |
51 vmap <S-Insert> <C-V> | 51 vmap <S-Insert> <C-V> |
52 | 52 |
53 " Use CTRL-Q to do what CTRL-V used to do | 53 " Use CTRL-Q to do what CTRL-V used to do |