From 0d95d1b891f1d5cdd732d399d0f1263a34f97ffe Mon Sep 17 00:00:00 2001 From: nefedov Date: Thu, 3 Oct 2019 21:29:37 +0300 Subject: [PATCH] Do not destroy default unnamed register contents --- plugin/editcommand.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/editcommand.vim b/plugin/editcommand.vim index 4920bce..89051ae 100644 --- a/plugin/editcommand.vim +++ b/plugin/editcommand.vim @@ -93,7 +93,7 @@ function! s:edit_command() " put command into buffer silent put =g:editcommand_before " remove the (empty) first line - 0,1delete + 0,1delete _ endfunction tnoremap EditCommand :call extract_command()A:call set_terminal_autocmd():call edit_command()