Move the alt+left/right binding into zsh integration

It works OOTB in bash and fish already.
This commit is contained in:
Kovid Goyal
2022-12-19 11:25:12 +05:30
parent e3f6f47f10
commit e4ee2cf995
4 changed files with 6 additions and 11 deletions
-8
View File
@@ -4002,13 +4002,5 @@ map('Open kitty Website',
f'open_kitty_website shift+cmd+/ open_url {website_url()}',
only='macos',
)
map('Move right one word',
'move_right_one_word alt+right send_text normal,application \\x1bf',
only='macos'
)
map('Move left one word',
'move_left_one_word alt+left send_text normal,application \\x1bb',
only='macos'
)
egr() # }}}
egr() # }}}
-2
View File
@@ -937,8 +937,6 @@ if is_macos:
defaults.map.append(KeyDefinition(trigger=SingleKey(mods=12, key=44), definition='load_config_file')) # noqa
defaults.map.append(KeyDefinition(trigger=SingleKey(mods=10, key=44), definition='debug_config')) # noqa
defaults.map.append(KeyDefinition(trigger=SingleKey(mods=9, key=47), definition='open_url https://sw.kovidgoyal.net/kitty/')) # noqa
defaults.map.append(KeyDefinition(trigger=SingleKey(mods=2, key=57351), definition='send_text normal,application \\x1bf')) # noqa
defaults.map.append(KeyDefinition(trigger=SingleKey(mods=2, key=57350), definition='send_text normal,application \\x1bb')) # noqa
defaults.mouse_map = [
# click_url_or_select
MouseMapping(repeat_count=-2, definition='mouse_handle_click selection link prompt'), # noqa