aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-09-14 15:42:26 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-09-14 15:42:26 +1200
commit0023ffb488256c8b89911d88ab7cea418c09e6c1 (patch)
treeb0ac2db9362704f8f83610ed7fdd253e1b69a1dc /vim/vimrc
parentMerge branch 'release/v1.69.0' into develop (diff)
downloaddotfiles-0023ffb488256c8b89911d88ab7cea418c09e6c1.tar.gz
dotfiles-0023ffb488256c8b89911d88ab7cea418c09e6c1.zip
Revert "Replace paste_open.vim with paste_hook....
This reverts commit dce5abc0724428f805562dd32bf9a71677d55aaa. On review, paste_open is good enough. I can always dig this back up again if I need to.
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