From 21ad8ef3554acd55558a39035c10c278019f4ef1 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Wed, 6 Oct 2021 02:08:03 +0300 Subject: kitty: thin down the config file --- .config/kitty/kitty.conf | 162 +++++++---------------------------------------- 1 file changed, 23 insertions(+), 139 deletions(-) (limited to '.config/kitty') diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index 8066bdb..0ab2d35 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -1,4 +1,4 @@ -# vim:fileencoding=utf-8:ft=conf:foldmethod=marker +# vim:fileencoding=utf-8:ft=kitty:foldmethod=marker #: Fonts {{{ --> Ligature Support @@ -38,16 +38,14 @@ wheel_scroll_multiplier 5.0 url_color #2aa889 url_style curly -open_url_modifiers ctrl+shift open_url_with brave +mouse_map ctrl+shift+left release grabbed,ungrabbed mouse_click_url #: }}} #: Terminal bell {{{ - enable_audio_bell no visual_bell_duration 0.0 - #: }}} #: Window layout {{{ @@ -80,28 +78,27 @@ inactive_tab_font_style normal # moonfly # https://github.com/bluz71/vim-moonfly-colors/blob/master/terminal_themes/kitty-theme.conf - -background #080808 -foreground #b2b2b2 -cursor #9e9e9e -color0 #373c40 -color1 #ff5454 -color2 #8cc85f -color3 #e3c78a -color4 #80a0ff -color5 #d183e8 -color6 #7ee0ce -color7 #de935f -color8 #f09479 -color9 #f74782 -color10 #42cf89 -color11 #cfcfb0 -color12 #78c2ff -color13 #ae81ff -color14 #85dc85 -color15 #e2637f -selection_background #b2ceee -selection_foreground #080808 +# background #080808 +# foreground #b2b2b2 +# cursor #9e9e9e +# color0 #373c40 +# color1 #ff5454 +# color2 #8cc85f +# color3 #e3c78a +# color4 #80a0ff +# color5 #d183e8 +# color6 #7ee0ce +# color7 #de935f +# color8 #f09479 +# color9 #f74782 +# color10 #42cf89 +# color11 #cfcfb0 +# color12 #78c2ff +# color13 #ae81ff +# color14 #85dc85 +# color15 #e2637f +# selection_background #b2ceee +# selection_foreground #080808 #: }}} @@ -111,59 +108,11 @@ editor nvim #: Keyboard shortcuts {{{ -#: Finally, you can use raw system key codes to map keys. To see the -#: system key code for a key, start kitty with the kitty --debug- -#: keyboard 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: - -#: .. code-block:: none - -#: on_key_input: glfw key: 65 native_code: 0x61 action: PRESS mods: 0x0 text: 'a' - -#: Here, the key name for the A key is 0x61 and you can use it with:: - -#: map ctrl+0x61 something - -#: to map ctrl+a to something. - -#: You can use the special action no_op to unmap a keyboard shortcut -#: that is assigned in the default configuration. - -#: You can combine multiple actions to be triggered by a single -#: shortcut, using the syntax below:: - -#: map key combine action1 action2 action3 ... - -#: For example:: - -#: map kitty_mod+e combine : new_window : next_layout - -#: this will create a new window and switch to the next available -#: layout - -#: You can use multi-key shortcuts using the syntax shown below:: - -#: map key1>key2>key3 action - -#: For example:: - -#: map ctrl+f>2 set_font_size 20 - kitty_mod ctrl+shift map shift+enter send_text all \x1b[13;2u map ctrl+enter send_text all \x1b[13;5u -#: The value of kitty_mod is used as the modifier for all default -#: shortcuts, you can change it in your kitty.conf to change the -#: modifiers for all the default shortcuts. - -# clear_all_shortcuts no - -#: You can have kitty remove all shortcut definition seen up to this -#: point. Useful, for instance, to remove the default shortcuts. - #: Clipboard {{{ map kitty_mod+c copy_to_clipboard @@ -188,69 +137,4 @@ map kitty_mod+h show_scrollback #: }}} -#: Window management {{{ - -# map kitty_mod+enter new_window -# map kitty_mod+n new_os_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 {{{ - -# map kitty_mod+right next_tab -# map kitty_mod+left previous_tab -# map kitty_mod+t new_tab -# map kitty_mod+q close_tab -# map kitty_mod+. move_tab_forward -# map kitty_mod+, move_tab_backward -# map kitty_mod+alt+t set_tab_title - -#: }}} - -#: Layout management {{{ - -# map kitty_mod+l next_layout -# map ctrl+alt+p last_used_layout - -#: }}} - -#: Font sizes {{{ - -# map kitty_mod+equal change_font_size all +2.0 -# map kitty_mod+minus change_font_size all -2.0 -# map kitty_mod+backspace change_font_size all 0 - -#: }}} - -#: Miscellaneous {{{ - -# map kitty_mod+f11 toggle_fullscreen -# map kitty_mod+u kitten unicode_input -# map kitty_mod+f2 edit_config_file -# map kitty_mod+escape kitty_shell window - -# 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 - -#: }}} - # }}} -- cgit v1.2.3-70-g09d2