mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-24 18:07:01 +00:00
Fix #1136
This commit is contained in:
parent
f5cdbe53ea
commit
718111582a
1 changed files with 1 additions and 1 deletions
|
|
@ -419,7 +419,7 @@ def get_editor():
|
|||
import shlex
|
||||
ans = os.environ.get('EDITOR')
|
||||
if not ans or not exe_exists(shlex.split(ans)[0]):
|
||||
for q in ('vim', 'vi', 'emacs', 'micro', 'nano'):
|
||||
for q in ('vim', 'nvim', 'vi', 'emacs', 'micro', 'nano', 'vis'):
|
||||
r = exe_exists(q)
|
||||
if r:
|
||||
ans = r
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue