yi-editor/yi — pull request #560 by jhance (2014-06-13 22:17:54+00:00)
Title: Fix vim keymap behavior regarding :q.

:q, :q!, and :qa! were all misbehaving. Fix :q to error if the file is
modified and unsaved, and have :q! not close all windows. :qa! now
simply closes all windows without checking for unsaved changes in
buffers.