Change keybindings
- ctrl+shift+1 to increase font size - remove a lot of default stuff - ctrl+shift+t/q for tabs
This commit is contained in:
parent
33a96778e5
commit
29d3887fe7
@ -1023,7 +1023,7 @@ kitty_mod ctrl+shift
|
||||
#: shortcuts, you can change it in your kitty.conf to change the
|
||||
#: modifiers for all the default shortcuts.
|
||||
|
||||
clear_all_shortcuts no
|
||||
clear_all_shortcuts yes
|
||||
|
||||
#: You can have kitty remove all shortcut definition seen up to this
|
||||
#: point. Useful, for instance, to remove the default shortcuts.
|
||||
@ -1093,7 +1093,7 @@ map kitty_mod+h show_scrollback
|
||||
|
||||
#: Window management {{{
|
||||
|
||||
map kitty_mod+enter new_window
|
||||
#map kitty_mod+enter new_window
|
||||
|
||||
#: You can open a new window running an arbitrary program, for
|
||||
#: example::
|
||||
@ -1120,29 +1120,29 @@ map kitty_mod+enter new_window
|
||||
|
||||
#: For more details, see launch.
|
||||
|
||||
map kitty_mod+n new_os_window
|
||||
#map kitty_mod+n new_os_window
|
||||
|
||||
#: Works like new_window above, except that it opens a top level OS
|
||||
#: kitty window. In particular you can use new_os_window_with_cwd to
|
||||
#: open a window with the current working directory.
|
||||
|
||||
map kitty_mod+w close_window
|
||||
map kitty_mod+] next_window
|
||||
map kitty_mod+[ previous_window
|
||||
map kitty_mod+f move_window_forward
|
||||
map kitty_mod+b move_window_backward
|
||||
map kitty_mod+` move_window_to_top
|
||||
map kitty_mod+r start_resizing_window
|
||||
map kitty_mod+1 first_window
|
||||
map kitty_mod+2 second_window
|
||||
map kitty_mod+3 third_window
|
||||
map kitty_mod+4 fourth_window
|
||||
map kitty_mod+5 fifth_window
|
||||
map kitty_mod+6 sixth_window
|
||||
map kitty_mod+7 seventh_window
|
||||
map kitty_mod+8 eighth_window
|
||||
map kitty_mod+9 ninth_window
|
||||
map kitty_mod+0 tenth_window
|
||||
#map kitty_mod+w close_window
|
||||
#map kitty_mod+] next_window
|
||||
#map kitty_mod+[ previous_window
|
||||
#map kitty_mod+f move_window_forward
|
||||
#map kitty_mod+b move_window_backward
|
||||
#map kitty_mod+` move_window_to_top
|
||||
#map kitty_mod+r start_resizing_window
|
||||
#map kitty_mod+1 first_window
|
||||
#map kitty_mod+2 second_window
|
||||
#map kitty_mod+3 third_window
|
||||
#map kitty_mod+4 fourth_window
|
||||
#map kitty_mod+5 fifth_window
|
||||
#map kitty_mod+6 sixth_window
|
||||
#map kitty_mod+7 seventh_window
|
||||
#map kitty_mod+8 eighth_window
|
||||
#map kitty_mod+9 ninth_window
|
||||
#map kitty_mod+0 tenth_window
|
||||
#: }}}
|
||||
|
||||
#: Tab management {{{
|
||||
@ -1172,7 +1172,7 @@ map kitty_mod+alt+t set_tab_title
|
||||
|
||||
#: Layout management {{{
|
||||
|
||||
map kitty_mod+l next_layout
|
||||
#map kitty_mod+l next_layout
|
||||
|
||||
#: You can also create shortcuts to switch to specific layouts::
|
||||
|
||||
@ -1192,9 +1192,11 @@ map kitty_mod+l next_layout
|
||||
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+1 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 kitty_mod+backspace change_font_size all 0
|
||||
map kitty_mod+0 change_font_size all 0
|
||||
|
||||
#: To setup shortcuts for specific font sizes::
|
||||
|
||||
@ -1212,42 +1214,42 @@ map kitty_mod+backspace change_font_size all 0
|
||||
#: external program or insert it into the terminal or copy it to the
|
||||
#: clipboard.
|
||||
|
||||
map kitty_mod+e kitten hints
|
||||
#map kitty_mod+e kitten hints
|
||||
|
||||
#: Open a currently visible URL using the keyboard. The program used
|
||||
#: to open the URL is specified in open_url_with.
|
||||
|
||||
map kitty_mod+p>f kitten hints --type path --program -
|
||||
#map kitty_mod+p>f kitten hints --type path --program -
|
||||
|
||||
#: Select a path/filename and insert it into the terminal. Useful, for
|
||||
#: instance to run git commands on a filename output from a previous
|
||||
#: git command.
|
||||
|
||||
map kitty_mod+p>shift+f kitten hints --type path
|
||||
#map kitty_mod+p>shift+f kitten hints --type path
|
||||
|
||||
#: Select a path/filename and open it with the default open program.
|
||||
|
||||
map kitty_mod+p>l kitten hints --type line --program -
|
||||
#map kitty_mod+p>l kitten hints --type line --program -
|
||||
|
||||
#: Select a line of text and insert it into the terminal. Use for the
|
||||
#: output of things like: ls -1
|
||||
|
||||
map kitty_mod+p>w kitten hints --type word --program -
|
||||
#map kitty_mod+p>w kitten hints --type word --program -
|
||||
|
||||
#: Select words and insert into terminal.
|
||||
|
||||
map kitty_mod+p>h kitten hints --type hash --program -
|
||||
#map kitty_mod+p>h kitten hints --type hash --program -
|
||||
|
||||
#: Select something that looks like a hash and insert it into the
|
||||
#: terminal. Useful with git, which uses sha1 hashes to identify
|
||||
#: commits
|
||||
|
||||
map kitty_mod+p>n kitten hints --type linenum
|
||||
#map kitty_mod+p>n kitten hints --type linenum
|
||||
|
||||
#: Select something that looks like filename:linenum and open it in
|
||||
#: vim at the specified line number.
|
||||
|
||||
map kitty_mod+p>y kitten hints --type hyperlink
|
||||
#map kitty_mod+p>y kitten hints --type hyperlink
|
||||
|
||||
#: Select a hyperlink (i.e. a URL that has been marked as such by the
|
||||
#: terminal program, for example, by ls --hyperlink=auto).
|
||||
@ -1259,20 +1261,20 @@ map kitty_mod+p>y kitten hints --type hyperlink
|
||||
|
||||
#: Miscellaneous {{{
|
||||
|
||||
map kitty_mod+f11 toggle_fullscreen
|
||||
map kitty_mod+f10 toggle_maximized
|
||||
#map kitty_mod+f11 toggle_fullscreen
|
||||
#map kitty_mod+f10 toggle_maximized
|
||||
map kitty_mod+u kitten unicode_input
|
||||
map kitty_mod+f2 edit_config_file
|
||||
map kitty_mod+escape kitty_shell window
|
||||
#map kitty_mod+f2 edit_config_file
|
||||
#map kitty_mod+escape kitty_shell window
|
||||
|
||||
#: Open the kitty shell in a new window/tab/overlay/os_window to
|
||||
#: control kitty using commands.
|
||||
|
||||
map kitty_mod+a>m set_background_opacity +0.1
|
||||
map kitty_mod+a>l set_background_opacity -0.1
|
||||
map kitty_mod+a>1 set_background_opacity 1
|
||||
map kitty_mod+a>d set_background_opacity default
|
||||
map kitty_mod+delete clear_terminal reset active
|
||||
#map kitty_mod+a>m set_background_opacity +0.1
|
||||
#map kitty_mod+a>l set_background_opacity -0.1
|
||||
#map kitty_mod+a>1 set_background_opacity 1
|
||||
#map kitty_mod+a>d set_background_opacity default
|
||||
#map kitty_mod+delete clear_terminal reset active
|
||||
|
||||
#: You can create shortcuts to clear/reset the terminal. For example::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user