aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc9
1 files changed, 3 insertions, 6 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 523bace5..d017dfe9 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -331,15 +331,12 @@ if exists(':xnoremap')
endif
" \o opens a line below in paste mode
-nmap <Bslash>o <Plug>(PasteHook)o
+nmap <Bslash>o <Plug>(PasteOpenBelow)
" \O opens a line above in paste mode
-nmap <Bslash>O <Plug>(PasteHook)O
+nmap <Bslash>O <Plug>(PasteOpenAbove)
-" \p toggles paste mode, or sets a hook if plugin available
+" \p toggles paste mode
nnoremap <Bslash>p :<C-U>set paste! paste?<CR>
-if &loadplugins
- nmap <Bslash>p <Plug>(PasteHook)
-endif
" \q formats the current paragraph
nnoremap <Bslash>q gqap