From 66d45005760ba97332da9239cdf1c2c2038f9870 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Wed, 22 Feb 2017 19:48:42 +0100 Subject: [PATCH] Make paste in new empty buffer References #272. --- autoload/startify.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/startify.vim b/autoload/startify.vim index 56b40e0..2053220 100644 --- a/autoload/startify.vim +++ b/autoload/startify.vim @@ -731,6 +731,7 @@ function! s:set_mappings() abort execute "nnoremap ". s:nowait ." v :call set_mark('V')" execute "nnoremap ". s:nowait ." :call startify#open_buffers()" execute "nnoremap ". s:nowait ." <2-LeftMouse> :call startify#open_buffers()" + execute "nnoremap ". s:nowait ." :enew normal! gp" " Without these mappings n/N wouldn't work properly, since autocmds always " force the cursor back on the index.