rhysd / vim.wasm

Vim editor ported to WebAssembly
http://rhysd.github.io/vim.wasm
5.5k stars 144 forks source link

Attempting to close the browser tab should not be possible #7

Closed sgrif closed 5 years ago

sgrif commented 6 years ago

Ideally this would result in an alert saying "Type :qa! and press to abandon all changes and exit vim". Anything else is simply not true to the vim experience (ignoring for the moment that :q doesn't actually work, which it probably should)

rhysd commented 6 years ago

Yeah, since everything will be discarded when closing a tab, vim.wasm should confirm that.