Only close buffers on quitall
This commit is contained in:
parent
2b7e6346a5
commit
15038d7b0c
2 changed files with 10 additions and 1 deletions
|
|
@ -132,7 +132,11 @@ class Ex
|
|||
atom.workspace.getActivePane().destroyActiveItem()
|
||||
|
||||
quitall: ->
|
||||
atom.close()
|
||||
if !atom.config.get('ex-mode.onlyCloseBuffers')
|
||||
atom.close()
|
||||
else
|
||||
atom.workspace.getTextEditors().forEach (editor) ->
|
||||
editor.destroy()
|
||||
|
||||
q: => @quit()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue