rest.nvim icon indicating copy to clipboard operation
rest.nvim copied to clipboard

Command to close httpResult buffer

Open ssipos90 opened this issue 2 years ago • 2 comments

Hello,

Nice plugin!

Is there any way one could close the buffer via a command? I use RestNvimLast a lot and would like to close the buffer after seing the results without switching - kinda like :cclose for quickfix.

Thanks.

ssipos90 avatar Mar 23 '22 13:03 ssipos90

Hi,

I think this is actually a great idea. We could close the buffer using :bdelete {bufname} that will close and unload the buffer from the buffers list and inject it as a buffer keybinding using an autocommand that gets triggered on http filetype (that means once user opens a http file).

I'll implement this tonight after work, shouldn't take a long time.

Cheers

NTBBloodbath avatar Mar 23 '22 21:03 NTBBloodbath

Hello @NTBBloodbath,

Any chance this has been implemented, I can't seem to find it.

codeprefect avatar Jun 16 '23 17:06 codeprefect