diff options
-rw-r--r-- | vim/plugin/paste_insert.vim | 2 | ||||
-rw-r--r-- | vim/vimrc | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/vim/plugin/paste_insert.vim b/vim/plugin/paste_insert.vim index be578746..9cd5415e 100644 --- a/vim/plugin/paste_insert.vim +++ b/vim/plugin/paste_insert.vim @@ -4,3 +4,5 @@ endif let loaded_paste_insert = 1 command! -bar PasteInsert \ call paste_insert#() +nnoremap <Plug>PasteInsert + \ :<C-U>PasteInsert<CR> @@ -1320,8 +1320,7 @@ xmap <Leader>L <Esc><Leader>Lgv " kept confusing me. I'm hoping this will be better. "" Leader,p prepares the next insert for paste mode -nnoremap <Leader>p - \ :<C-U>PasteInsert<CR> +nmap <Leader>p <Plug>PasteInsert " These mappings are for managing filetypes. The first one uses the " :ReloadFileType command that was defined much earlier in this file for |