Add "vim.basic" and "vim.tiny" to editors

These are common aliases for `editor` on debian, but vim requires
special flags in order to work correctly.  Adjust accordingly
This commit is contained in:
Peter Ruibal 2015-12-02 22:13:59 -08:00
parent 97b8ef222d
commit b72a0f4dff
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ def get_default_editors():
def get_editor_args(editor):
if editor in ['vim', 'gvim']:
if editor in ['vim', 'gvim', 'vim.basic', 'vim.tiny']:
return '-f -o'
elif editor == 'emacs':