 
 qall = ->
   q() for item in atom.workspace.getPaneItems()
-    # q()
-    # atom.workspace.closeActivePaneItemOrEmptyPaneOrWindow()
+
+wall = ->
+  w({editor}) for editor in atom.workspace.getTextEditors() when editor.isModified()
 
 wqall = ->
-  # wq()
-  for editor in atom.workspace.getTextEditors() when editor.isModified()
-    w({editor})
-  qall()
-
+  for item in atom.workspace.getPaneItems()
+    w()
+    q()
 
 split = ({editor, editorElement}) ->
   dispatch(editorElement, 'pane:split-down-and-copy-active-item')

vsplit = ({editor, editorElement}) ->
  dispatch(editorElement, 'pane:split-right-and-copy-active-item')


# Configuration switch
# -------------------------

# Util
toggleConfig = (param) ->
  value = atom.config.get(param)

  normalCommands: {
    w
    wq
    wall
    wqall
    q
    qall
