rest-nvim / rest.nvim

A fast Neovim http client written in Lua
GNU General Public License v3.0
1.61k stars 142 forks source link

feat: stay in current window on split #257

Closed volomas closed 11 months ago

volomas commented 12 months ago

When you run request for this first time, focus is getting switched to the new windows with results buffer. I've added simple flag that allows to configure this behavior: either stay in current windows (.http file) or change to results window (default)

eeeXun commented 11 months ago

Side note: maybe we should make this the default behavior afterwards?

I agree!

volomas commented 11 months ago

Looks good to me, thank you very much for this new addition!

Side note: maybe we should make this the default behavior afterwards?

As for me, I would prefer to have it default. Decided not to do so in this PR, because that's not what existing users might be used to.