# vim:fileencoding=utf-8:foldmethod=marker # For up-to-date documentation, please see the related HTML documentation from # the package. That or the website. #: Fonts {{{ font_family monospace font_size 14.0 disable_ligatures cursor #: }}} #: Cursor customization {{{ cursor none cursor_shape block cursor_blink_interval -1 #: }}} #: Scrollback {{{ scrollback_pager_history_size 24 #: }}} #: Mouse {{{ mouse_hide_wait 0 url_color #0087bd url_style curly url_prefixes http https file ftp gemini irc gopher mailto news git strip_trailing_spaces smart click_interval -1.0 #: Mouse actions {{{ mouse_map left click ungrabbed mouse_handle_click selection link prompt mouse_map ctrl+shift+left press grabbed discard_event mouse_map left press ungrabbed mouse_selection normal mouse_map ctrl+alt+left press ungrabbed mouse_selection rectangle mouse_map left doublepress ungrabbed mouse_selection word mouse_map left triplepress ungrabbed mouse_selection line mouse_map ctrl+alt+left triplepress ungrabbed mouse_selection line_from_point mouse_map right press ungrabbed mouse_selection extend mouse_map middle release ungrabbed paste_from_selection mouse_map shift+middle release ungrabbed,grabbed paste_selection mouse_map shift+middle press grabbed discard_event mouse_map shift+left press ungrabbed,grabbed mouse_selection normal mouse_map ctrl+shift+alt+left press ungrabbed,grabbed mouse_selection rectangle mouse_map shift+left doublepress ungrabbed,grabbed mouse_selection word mouse_map shift+left triplepress ungrabbed,grabbed mouse_selection line mouse_map ctrl+shift+alt+left triplepress ungrabbed,grabbed mouse_selection line_from_point mouse_map shift+right press ungrabbed,grabbed mouse_selection extend mouse_map ctrl+shift+right press ungrabbed mouse_show_command_output #: }}} #: }}} #: Window layout {{{ enabled_layouts fat,stack active_border_color #00ff00 inactive_border_color #cccccc bell_border_color #ff5a00 hide_window_decorations yes resize_draw_strategy size #: }}} #: Tab bar {{{ tab_bar_style powerline active_tab_foreground #000 active_tab_background #eee active_tab_font_style bold-italic inactive_tab_foreground #444 inactive_tab_background #999 inactive_tab_font_style normal #: }}} #: Color scheme {{{ background_image none background_image_layout clamped background_tint 0.5 mark1_foreground black mark1_background #98d3cb mark2_foreground black mark2_background #f2dcd3 mark3_foreground black mark3_background #f274bc # Start flavours foreground #dddddd background #000000 cursor_text_color #111111 selection_foreground #000000 selection_background #fffacd color0 #000000 color8 #767676 color1 #cc0403 color9 #f2201f color2 #19cb00 color10 #23fd00 color3 #cecb00 color11 #fffd00 color4 #0d73cc color12 #1a8fff color5 #cb1ed1 color13 #fd28ff color6 #0dcdcd color14 #14ffff color7 #dddddd color15 #ffffff # End flavours #: }}} #: Advanced {{{ # Disable update check pls. Let the package manager handle it. update_check_interval 0 #: }}} #: Keyboard shortcuts {{{ #: Keys are identified simply by their lowercase unicode characters. #: For example: ``a`` for the A key, ``[`` for the left square bracket #: key, etc. For functional keys, such as ``Enter or Escape`` the #: names are present at https://sw.kovidgoyal.net/kitty/keyboard- #: protocol/#functional-key-definitions. For modifier keys, the names #: are ctrl (control, ⌃), shift (⇧), alt (opt, option, ⌥), super (cmd, #: command, ⌘). See also: GLFW mods #: #: On Linux you can also use XKB key names to bind keys that are not #: supported by GLFW. See XKB keys #: for a list of key names. The name to use is the part #: after the XKB_KEY_ prefix. Note that you can only use an XKB key #: name for keys that are not known as GLFW keys. #: Finally, you can use raw system key codes to map keys, again only #: for keys that are not known as GLFW keys. To see the system key #: code for a key, start kitty with the kitty --debug-input option. #: Then kitty will output some debug text for every key event. In that #: text look for ``native_code`` the value of that becomes the key #: name in the shortcut. For example: kitty_mod ctrl+shift clear_all_shortcuts yes action_alias hints kitten hints --hints-offset=0 #: Clipboard {{{ map kitty_mod+c copy_to_clipboard map kitty_mod+v paste_from_clipboard map kitty_mod+s paste_from_selection map shift+insert paste_from_selection map kitty_mod>o pass_selection_to_program #: }}} #: Scrolling {{{ map kitty_mod+up scroll_line_up map kitty_mod+k scroll_line_up map kitty_mod+down scroll_line_down map kitty_mod+j scroll_line_down map kitty_mod+page_up scroll_page_up map kitty_mod+u scroll_page_up map kitty_mod+page_down scroll_page_down map kitty_mod+d scroll_page_down map kitty_mod+home scroll_home map kitty_mod+end scroll_end map kitty_mod+e show_scrollback map kitty_mod+g show_last_command_output #: }}} #: Window management {{{ map kitty_mod+w>n launch --cwd=current map kitty_mod+enter launch --cwd=current map kitty_mod+w>d close_window map kitty_mod+w>l next_window map kitty_mod+l next_window map kitty_mod+w>h previous_window map kitty_mod+h previous_window map kitty_mod+w>f move_window_forward map kitty_mod+w>b move_window_backward map kitty_mod+w>j move_window_to_top map kitty_mod+w>r start_resizing_window map kitty_mod+w>v focus_visible_window map kitty_mod+w>s swap_with_window #: }}} #: Tab management {{{ map kitty_mod+t>right next_tab map kitty_mod+t>l next_tab map kitty_mod+t>left previous_tab map kitty_mod+t>h previous_tab map kitty_mod+t>n new_tab map kitty_mod+t>d close_tab #: }}} #: Layout management {{{ map kitty_mod+; next_layout map kitty_mod+f toggle_layout stack #: }}} #: Font sizes {{{ map kitty_mod+plus change_font_size all +2.0 map kitty_mod+kp_add 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+0 change_font_size all 20 map kitty_mod+backspace change_font_size all 0 #: }}} #: Select and act on visible text {{{ # Hint and open the selected path with the default handler. map kitty_mod+p>o kitten hints --type path map kitty_mod+p>i kitten hints --type hyperlink # Insert the selected hint into the cursor. map kitty_mod+p>p kitten hints --type path --program - map kitty_mod+p>l kitten hints --type line --program - map kitty_mod+p>w kitten hints --type word --program - map kitty_mod+p>h kitten hints --type hash --program - map kitty_mod+p>n kitten hints --type linenum --program - map kitty_mod+p>y kitten hints --type hyperlink --program - #: }}} #: Miscellaneous {{{ map kitty_mod+u kitten unicode_input # Kitty-related low-level ops. map kitty_mod+q>e edit_config_file map kitty_mod+q>r load_config_file map kitty_mod+q>s kitty_shell window map kitty_mod+q>d debug_config map kitty_mod+delete clear_terminal reset active #: }}} #: }}}