aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-09-14 15:43:36 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-09-14 15:43:36 +1200
commitafa95909847d1f1107a15f2cc9f7879393f817ad (patch)
tree8c872cc11f7336eeffb80dfb37159a566ca90737 /vim/vimrc
parentMerge branch 'release/v1.69.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-afa95909847d1f1107a15f2cc9f7879393f817ad.tar.gz
dotfiles-afa95909847d1f1107a15f2cc9f7879393f817ad.zip
Merge branch 'release/v1.70.0'v1.70.0
* release/v1.70.0: Bump VERSION Revert "Replace paste_open.vim with paste_hook....
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