prompt-toolkit / pyvim

Pure Python Vim clone.
BSD 3-Clause "New" or "Revised" License
2.52k stars 160 forks source link

Implement quit to match vim #125

Open lieryan opened 5 years ago

lieryan commented 5 years ago

This pull request implements the various ways to quit vim and/or close tabs/windows: :q, :wq, :qa, :wqa, :wa, and ZZ now behave as they would in vim. Also implements <C-z> (suspend_to_background).

There are also various assorted minor bugfixes, typofix, and adding vim aliases for existing commands. Let me know if you'd rather that these unrelated fixes be separated into their own pull requests.

This PR should fix all these tickets: