ex-mode icon indicating copy to clipboard operation
ex-mode copied to clipboard

:q! asks for save confirmation

Open qazip opened this issue 6 years ago • 1 comments

Hello,

Doing ":q!" asks for saving confirmation. Is it possible for it to force close the file instead without asking for confirmation?

qazip avatar Mar 18 '18 16:03 qazip

I think this is possible. Pane::deleteItem has a force flag. So we could do:

# :q!
pane = atom.workspace.getActivePane()
pane.destroyItem(pane.getActiveItem(), true)

hultberg avatar May 29 '18 22:05 hultberg