aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-16 03:20:25 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-16 03:20:25 +1200
commitd5f46520c4e05ff56cac75a593ba88bb71e43337 (patch)
tree02897068882cdebdfca7bb1087ae64870d3d6249 /vim/vimrc
parentStrip buflocal property from paste_insert autocmds (diff)
downloaddotfiles-d5f46520c4e05ff56cac75a593ba88bb71e43337.tar.gz
dotfiles-d5f46520c4e05ff56cac75a593ba88bb71e43337.zip
Use <Plug> mapping target for paste_insert.vim
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc3
1 files changed, 1 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index e29f1e01..df805727 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -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