diff options
author | Teddy Wing | 2014-06-14 19:23:00 -0400 |
---|---|---|
committer | Teddy Wing | 2014-06-14 19:23:00 -0400 |
commit | 7b01a1db66efde6c79df75f1646569f4b9148a4e (patch) | |
tree | f484797e9e61d95d89a0f5a31ae63a6207db3398 /plugin | |
parent | 2b29135aad49b866ff41b469e5632d4ed6c0cdc0 (diff) | |
download | dotvim-7b01a1db66efde6c79df75f1646569f4b9148a4e.tar.bz2 |
unimpaired_paste: add `yi` mapping
I often find that I want to delete the line inserted from the `yo`
mapping. This adds a mapping that doesn't add the line in the first
place so I don't have to go back and delete it after pasting.
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/unimpaired_paste.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/unimpaired_paste.vim b/plugin/unimpaired_paste.vim index 5a1a3ef..f628fb1 100644 --- a/plugin/unimpaired_paste.vim +++ b/plugin/unimpaired_paste.vim @@ -22,6 +22,7 @@ nnoremap <silent> <Plug>unimpairedPaste :call <SID>setup_paste()<CR> nnoremap <silent> yo :call <SID>setup_paste()<CR>o nnoremap <silent> yO :call <SID>setup_paste()<CR>O +nnoremap <silent> yi :call <SID>setup_paste()<CR>i augroup unimpaired_paste autocmd! |