diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-09-14 15:42:26 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-09-14 15:42:26 +1200 |
commit | 0023ffb488256c8b89911d88ab7cea418c09e6c1 (patch) | |
tree | b0ac2db9362704f8f83610ed7fdd253e1b69a1dc /vim/vimrc | |
parent | Merge branch 'release/v1.69.0' into develop (diff) | |
download | dotfiles-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/vimrc | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -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 |