vim-haredoc

[vim] haredoc plugin
git clone https://git.torresjrjr.com/vim-haredoc.git
Log | Files | Refs | README | LICENSE

commit 53237b5cb80ebc48acb35da82dcc7222b6199ea5
parent dac78bc4593bf2dfce23e51b3033cffdf87010cd
Author: Byron Torres <b@torresjrjr.com>
Date:   Wed, 24 May 2023 15:14:56 +0100

wipe unused terminal buffers

Diffstat:
Mplugin/haredoc.vim | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/plugin/haredoc.vim b/plugin/haredoc.vim @@ -42,6 +42,7 @@ function Haredoc(symbol) \ ], \ #{hidden: 1, term_finish: 'close'}, \ ) + call setbufvar(buf, "&bufhidden", 'wipe') let minheight = 1 + system( \ "haredoc -Ftty '"..symbol.."' 2>&1 | wc -l" \ ) @@ -63,7 +64,7 @@ function Haredoc(symbol) \ "haredoc -Ftty '"..symbol.."' | less -RKX", \ ], \ ) - set nonumber filetype=hare + set nonumber filetype=hare bufhidden=wipe nnoremap <buffer> q :close<CR> nnoremap <buffer> <nowait> u <C-U> nnoremap <buffer> <nowait> d <C-D>