mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 09:48:09 +02:00
Add a default mapping for searching the scrollback
Opens the scrollback pager in search mode. Particularly useful for newbies on macOS that are used to using cmd+f to trigger search mode. If there is a current selection, it is automatically searched for.
This commit is contained in:
@@ -194,7 +194,7 @@ def set_cocoa_global_shortcuts(opts: Options) -> dict[str, SingleKey]:
|
||||
for ac in ('new_os_window', 'close_os_window', 'close_tab', 'edit_config_file', 'previous_tab',
|
||||
'next_tab', 'new_tab', 'new_window', 'close_window', 'toggle_macos_secure_keyboard_entry',
|
||||
'toggle_fullscreen', 'macos_cycle_through_os_windows', 'macos_cycle_through_os_windows_backwards',
|
||||
'hide_macos_app', 'hide_macos_other_apps', 'minimize_macos_window', 'quit'):
|
||||
'hide_macos_app', 'hide_macos_other_apps', 'minimize_macos_window', 'quit', 'search_scrollback'):
|
||||
val = get_macos_shortcut_for(func_map, ac)
|
||||
if val is not None:
|
||||
global_shortcuts[ac] = val
|
||||
|
||||
Reference in New Issue
Block a user