diff --git a/kitty/utils.py b/kitty/utils.py index d8caea349..670621082 100644 --- a/kitty/utils.py +++ b/kitty/utils.py @@ -667,7 +667,7 @@ def get_editor_from_env_vars(opts: Optional[Options] = None) -> List[str]: shell_env = read_shell_environment(opts) editor = get_editor_from_env(shell_env) - for ans in (editor, 'vim', 'nvim', 'vi', 'emacs', 'kak', 'micro', 'nano', 'vis'): + for ans in (editor, 'vim', 'nvim', 'vi', 'emacs', 'hx', 'kak', 'micro', 'nano', 'vis'): if ans and which(shlex.split(ans)[0], only_system=True): break else: