aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-21 10:09:58 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-21 10:09:58 +1200
commitef6cdc39da392964df2a55ab183d20c0eeed1aef (patch)
tree688a02111a0376c450c9307854b6874e484ad6a2 /vim/vimrc
parentRestore 'esckeys' setting (diff)
downloaddotfiles-ef6cdc39da392964df2a55ab183d20c0eeed1aef.tar.gz
dotfiles-ef6cdc39da392964df2a55ab183d20c0eeed1aef.zip
Add new vim_paste_open plugin and needed bindings
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index da1d1137..6431bd54 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -278,6 +278,9 @@ nnoremap \j :<C-U>ls<CR>:buffer<Space>
nnoremap \l :<C-U>set list! list?<CR>
" \n toggles line numbers
nnoremap \n :<C-U>set number! number?<CR>
+" \o and \O open 'pasted insert' lines
+nmap \o <Plug>PasteOpenBelow
+nmap \O <Plug>PasteOpenAbove
" \p toggles paste mode
nnoremap \p :<C-U>set paste! paste?<CR>
" \r reloads .vimrc