kitty: Only set the mappings I need/use
This commit is contained in:
@@ -2068,7 +2068,7 @@ kitty_mod alt
|
||||
#: the value of this option to alter all default shortcuts that use
|
||||
#: kitty_mod.
|
||||
|
||||
# clear_all_shortcuts no
|
||||
clear_all_shortcuts yes
|
||||
|
||||
#: Remove all shortcut definitions up to this point. Useful, for
|
||||
#: instance, to remove the default shortcuts.
|
||||
@@ -2105,9 +2105,9 @@ kitty_mod alt
|
||||
|
||||
#: Copy to clipboard
|
||||
|
||||
map ctrl+shift+c copy_to_clipboard
|
||||
# map kitty_mod+c copy_to_clipboard
|
||||
# map cmd+c copy_to_clipboard
|
||||
map ctrl+shift+c copy_to_clipboard
|
||||
|
||||
#:: There is also a copy_or_interrupt action that can be optionally
|
||||
#:: mapped to Ctrl+C. It will copy only if there is a selection and
|
||||
@@ -2150,14 +2150,14 @@ map ctrl+shift+v paste_from_clipboard
|
||||
#: Scroll line up
|
||||
|
||||
# map kitty_mod+up scroll_line_up
|
||||
# map kitty_mod+k scroll_line_up
|
||||
map kitty_mod+k scroll_line_up
|
||||
# map opt+cmd+page_up scroll_line_up
|
||||
# map cmd+up scroll_line_up
|
||||
|
||||
#: Scroll line down
|
||||
|
||||
# map kitty_mod+down scroll_line_down
|
||||
# map kitty_mod+j scroll_line_down
|
||||
map kitty_mod+j scroll_line_down
|
||||
# map opt+cmd+page_down scroll_line_down
|
||||
# map cmd+down scroll_line_down
|
||||
|
||||
@@ -2200,7 +2200,7 @@ map kitty_mod+shift+j scroll_to_prompt 1
|
||||
|
||||
#: Browse scrollback buffer in pager
|
||||
|
||||
# map kitty_mod+h show_scrollback
|
||||
map kitty_mod+h show_scrollback
|
||||
|
||||
#:: You can pipe the contents of the current screen and history
|
||||
#:: buffer as STDIN to an arbitrary program using launch --stdin-
|
||||
@@ -2214,7 +2214,7 @@ map kitty_mod+shift+j scroll_to_prompt 1
|
||||
|
||||
#: Browse output of the last shell command in pager
|
||||
|
||||
# map kitty_mod+g show_last_command_output
|
||||
map kitty_mod+g show_last_command_output
|
||||
|
||||
#:: You can also define additional shortcuts to get the command
|
||||
#:: output. For example, to get the first command output on screen::
|
||||
@@ -2471,23 +2471,23 @@ map kitty_mod+shift+j scroll_to_prompt 1
|
||||
|
||||
#: Increase font size
|
||||
|
||||
# map kitty_mod+equal change_font_size all +2.0
|
||||
# map kitty_mod+plus change_font_size all +2.0
|
||||
# map kitty_mod+kp_add change_font_size all +2.0
|
||||
map kitty_mod+equal change_font_size all +2.0
|
||||
map kitty_mod+plus change_font_size all +2.0
|
||||
map kitty_mod+kp_add change_font_size all +2.0
|
||||
# map cmd+plus change_font_size all +2.0
|
||||
# map cmd+equal change_font_size all +2.0
|
||||
# map shift+cmd+equal change_font_size all +2.0
|
||||
|
||||
#: Decrease font size
|
||||
|
||||
# map kitty_mod+minus change_font_size all -2.0
|
||||
# map kitty_mod+kp_subtract change_font_size all -2.0
|
||||
map kitty_mod+minus change_font_size all -2.0
|
||||
map kitty_mod+kp_subtract change_font_size all -2.0
|
||||
# map cmd+minus change_font_size all -2.0
|
||||
# map shift+cmd+minus change_font_size all -2.0
|
||||
|
||||
#: Reset font size
|
||||
|
||||
# map kitty_mod+backspace change_font_size all 0
|
||||
map kitty_mod+backspace change_font_size all 0
|
||||
# map cmd+0 change_font_size all 0
|
||||
|
||||
|
||||
@@ -2514,7 +2514,7 @@ map kitty_mod+shift+j scroll_to_prompt 1
|
||||
|
||||
#: Open URL
|
||||
|
||||
# map kitty_mod+e open_url_with_hints
|
||||
map kitty_mod+e open_url_with_hints
|
||||
|
||||
#:: Open a currently visible URL using the keyboard. The program used
|
||||
#:: to open the URL is specified in open_url_with.
|
||||
@@ -2605,7 +2605,7 @@ map kitty_mod+shift+j scroll_to_prompt 1
|
||||
|
||||
#: Open the kitty command shell
|
||||
|
||||
# map kitty_mod+escape kitty_shell window
|
||||
map kitty_mod+escape kitty_shell window
|
||||
|
||||
#:: Open the kitty shell in a new window / tab / overlay / os_window
|
||||
#:: to control kitty using commands.
|
||||
@@ -2701,7 +2701,7 @@ map kitty_mod+shift+j scroll_to_prompt 1
|
||||
|
||||
#: Reload kitty.conf
|
||||
|
||||
# map kitty_mod+f5 load_config_file
|
||||
map kitty_mod+f5 load_config_file
|
||||
# map ctrl+cmd+, load_config_file
|
||||
|
||||
#:: Reload kitty.conf, applying any changes since the last time it
|
||||
|
||||
Reference in New Issue
Block a user