oni icon indicating copy to clipboard operation
oni copied to clipboard

Closing the last buffer

Open dfee opened this issue 8 years ago • 3 comments

Oni Version: 0.3.6

Operating System: 10.13.5

Issue: When my last buffer closes, oni closes the gui window.

Expected behavior: "nicer behavior" might be to not close the window.

Actual behavior: oni closes the window

Steps to reproduce: close your last buffer

For example, here's how VSCode handles the issue. image

dfee avatar Jul 02 '18 16:07 dfee

Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.

oni-bot avatar Jul 02 '18 16:07 oni-bot

I too think it would be nice, but I think it should be either configurable (as it is not neo(vim)s default behavior) or a command (for instance: <c-q> can trigger a "editor.quitToEmptyBuffer" command).

TalAmuyal avatar Jul 02 '18 17:07 TalAmuyal

Agree to configurable, I prefer the current behaviour, but most users might not want that.

badosu avatar Jul 03 '18 03:07 badosu