From 7b01a1db66efde6c79df75f1646569f4b9148a4e Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 14 Jun 2014 19:23:00 -0400 Subject: 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. --- plugin/unimpaired_paste.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'plugin') 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 unimpairedPaste :call setup_paste() nnoremap yo :call setup_paste()o nnoremap yO :call setup_paste()O +nnoremap yi :call setup_paste()i augroup unimpaired_paste autocmd! -- cgit v1.2.3