Merge branch 'add_kakoune_editor' of https://github.com/Luflosi/kitty
This commit is contained in:
commit
46d483e8b2
@ -415,7 +415,7 @@ def get_editor():
|
|||||||
import shlex
|
import shlex
|
||||||
ans = os.environ.get('EDITOR')
|
ans = os.environ.get('EDITOR')
|
||||||
if not ans or not exe_exists(shlex.split(ans)[0]):
|
if not ans or not exe_exists(shlex.split(ans)[0]):
|
||||||
for q in ('vim', 'nvim', 'vi', 'emacs', 'micro', 'nano', 'vis'):
|
for q in ('vim', 'nvim', 'vi', 'emacs', 'kak', 'micro', 'nano', 'vis'):
|
||||||
r = exe_exists(q)
|
r = exe_exists(q)
|
||||||
if r:
|
if r:
|
||||||
ans = r
|
ans = r
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user