vhakulinen / gnvim

GUI for neovim, without any web bloat
MIT License
1.85k stars 69 forks source link

Confirm on close? #147

Open kizzx2 opened 4 years ago

kizzx2 commented 4 years ago

Is it possible to have a confirmation dialog when there are any unsaved buffers? Right now an accidental Alt+F4 can lose quite a lot of progress

vhakulinen commented 4 years ago

Currently not possible - but implementing something like that shouldn't be hard. Might be as easy as just sending :q to nvim when closing the main window, instead of just exiting directly.