Use vi as a (saner) default. Fixes #140.
This commit is contained in:
parent
6cd74a9966
commit
4dc69bcfc2
@ -38,9 +38,9 @@ def _get_encoding(conf):
|
||||
def _get_local_editor():
|
||||
"""Get the editor from environment variables.
|
||||
|
||||
Use nano as a default.
|
||||
Use vi as a default.
|
||||
"""
|
||||
return os.environ.get('EDITOR', 'nano')
|
||||
return os.environ.get('EDITOR', 'vi')
|
||||
|
||||
|
||||
def get_ui():
|
||||
|
Loading…
x
Reference in New Issue
Block a user