From 130b3aed7e5181175b6708576485e4ea2b2e37ef Mon Sep 17 00:00:00 2001 From: surtur Date: Sun, 26 Jul 2020 15:21:21 +0200 Subject: [PATCH] chore: updated kitty.conf * correctly using FiraCode + JetBrainsMono fonts * enabled kitty mod keys * updated url prefixes list --- .config/kitty/kitty.conf | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index b7c7ec5..53f05ca 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -6,10 +6,10 @@ #: individual font faces and even specify special fonts for particular #: characters. -font_family Fira Code Retina -bold_font Fira Code SemiBold -italic_font Fira Code Bold Italic -# bold_italic_font auto +font_family FiraCode-Retina +bold_font FiraCode-Bold +italic_font JetBrainsMono-Italic +bold_italic_font JetBrainsMono-BoldItalic #: You can specify different fonts for the bold/italic/bold-italic #: variants. To get a full list of supported fonts use the `kitty @@ -83,7 +83,13 @@ disable_ligatures never #: map alt+2 disable_ligatures_in all never #: map alt+3 disable_ligatures_in tab cursor -font_features FiraCode-Retina +zero +font_features FiraCode-Bold +zero +ss07 +font_features FiraCode-Light +zero +ss07 +font_features FiraCode-Medium +zero +ss07 +font_features FiraCode-Regular +zero +ss07 +font_features FiraCode-Retina +zero +ss07 +font_features JetBrainsMono-Italic +liga +calt +ss04 +ss05 +font_features JetBrainsMono-BoldItalic +liga +calt +ss04 +ss05 #: Choose exactly which OpenType features to enable or disable. This #: is useful as some fonts might have features worthwhile in a @@ -130,7 +136,7 @@ font_features FiraCode-Retina +zero #: font_features UnifontMedium +isol -medi -fina -init -# box_drawing_scale 0.001, 1, 1.5, 2 +box_drawing_scale 0.001, 1, 1.5, 2 #: Change the sizes of the lines used for the box drawing unicode #: characters These values are in pts. They will be scaled by the @@ -249,7 +255,7 @@ url_style curly #: special value default means to use the operating system's default #: URL handler. -url_prefixes http https file ftp ssh irc +url_prefixes http https file ftp ssh git irc #: The set of URL prefixes to look for when detecting a URL under the #: mouse cursor. @@ -281,7 +287,7 @@ rectangle_select_modifiers ctrl+alt #: The modifiers to use rectangular selection (i.e. to select text in #: a rectangular block with the mouse) -# terminal_select_modifiers shift +terminal_select_modifiers shift #: The modifiers to override mouse selection even when a terminal #: application has grabbed the mouse @@ -992,7 +998,7 @@ background_opacity 0.95 #: map ctrl+f>2 set_font_size 20 -# kitty_mod ctrl+shift +kitty_mod ctrl+shift #: 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 @@ -1048,10 +1054,10 @@ map kitty_mod+shift+v paste_from_clipboard 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+page_down scroll_page_down -# map kitty_mod+home scroll_home -# map kitty_mod+end scroll_end +map kitty_mod+page_up scroll_page_up +map kitty_mod+page_down scroll_page_down +map kitty_mod+home scroll_home +map kitty_mod+end scroll_end # map kitty_mod+h show_scrollback #: You can pipe the contents of the current screen + history buffer as