X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/7e8aada7d78b232be5e952098e3da32f3c2cf2f8..refs/heads/master:/kitty/kitty.conf diff --git a/kitty/kitty.conf b/kitty/kitty.conf index 9790325..7388341 100644 --- a/kitty/kitty.conf +++ b/kitty/kitty.conf @@ -42,7 +42,7 @@ scrollback_pager less --chop-long-lines --RAW-CONTROL-CHARS +INPUT_LINE_NUMBER #: URLs detect_urls yes url_prefixes http https file ftp -open_url_with default +open_url_with rifle open_url_modifiers kitty_mod url_style curly @@ -140,140 +140,7 @@ active_tab_title_template none #: Color scheme {{{ -foreground #dddddd -background #000000 - -#: The foreground and background colors - -background_opacity 1.0 - -#: The opacity of the background. A number between 0 and 1, where 1 is -#: opaque and 0 is fully transparent. This will only work if -#: supported by the OS (for instance, when using a compositor under -#: X11). Note that it only sets the background color's opacity in -#: cells that have the same background color as the default terminal -#: background. This is so that things like the status bar in vim, -#: powerline prompts, etc. still look good. But it means that if you -#: use a color theme with a background color in your editor, it will -#: not be rendered as transparent. Instead you should change the -#: default background color in your kitty config and not use a -#: background color in the editor color scheme. Or use the escape -#: codes to set the terminals default colors in a shell script to -#: launch your editor. Be aware that using a value less than 1.0 is a -#: (possibly significant) performance hit. If you want to dynamically -#: change transparency of windows set dynamic_background_opacity to -#: yes (this is off by default as it has a performance cost) - -background_image none - -#: Path to a background image. Must be in PNG format. - -background_image_layout tiled - -#: Whether to tile or scale the background image. - -background_image_linear no - -#: When background image is scaled, whether linear interpolation -#: should be used. - -dynamic_background_opacity no - -#: Allow changing of the background_opacity dynamically, using either -#: keyboard shortcuts (increase_background_opacity and -#: decrease_background_opacity) or the remote control facility. - -background_tint 0.0 - -#: How much to tint the background image by the background color. The -#: tint is applied only under the text area, not margin/borders. Makes -#: it easier to read the text. Tinting is done using the current -#: background color for each window. This setting applies only if -#: background_opacity is set and transparent windows are supported or -#: background_image is set. - -dim_opacity 0.75 - -#: How much to dim text that has the DIM/FAINT attribute set. One -#: means no dimming and zero means fully dimmed (i.e. invisible). - -selection_foreground #000000 - -#: The foreground for text selected with the mouse. A value of none -#: means to leave the color unchanged. - -selection_background #fffacd - -#: The background for text selected with the mouse. - - -#: The 256 terminal colors. There are 8 basic colors, each color has a -#: dull and bright version, for the first 16 colors. You can set the -#: remaining 240 colors as color16 to color255. - -color0 #000000 -color8 #767676 - -#: black - -color1 #cc0403 -color9 #f2201f - -#: red - -color2 #19cb00 -color10 #23fd00 - -#: green - -color3 #cecb00 -color11 #fffd00 - -#: yellow - -color4 #0d73cc -color12 #1a8fff - -#: blue - -color5 #cb1ed1 -color13 #fd28ff - -#: magenta - -color6 #0dcdcd -color14 #14ffff - -#: cyan - -color7 #dddddd -color15 #ffffff - -#: white - -mark1_foreground black - -#: Color for marks of type 1 - -mark1_background #98d3cb - -#: Color for marks of type 1 (light steel blue) - -mark2_foreground black - -#: Color for marks of type 2 - -mark2_background #f2dcd3 - -#: Color for marks of type 1 (beige) - -mark3_foreground black - -#: Color for marks of type 3 - -mark3_background #f274bc - -#: Color for marks of type 1 (violet) +include colors/nord.conf #: }}} @@ -376,9 +243,13 @@ allow_hyperlinks yes #: Process hyperlink (OSC 8) escape sequences. If disabled OSC 8 #: escape sequences are ignored. Otherwise they become clickable -#: links, that you can click by holding down ctrl+shift and clicking -#: with the mouse. The special value of ``ask`` means that kitty will -#: ask before opening the link. +#: links, that you can click with the mouse or by using the hints +#: kitten . The +#: special value of ask means that kitty will ask before opening the +#: link when clicked. + +shell_integration no-sudo + term xterm-kitty @@ -394,80 +265,6 @@ term xterm-kitty #: }}} -#: OS specific tweaks {{{ - -macos_titlebar_color system - -#: Change the color of the kitty window's titlebar on macOS. A value -#: of system means to use the default system color, a value of -#: background means to use the background color of the currently -#: active window and finally you can use an arbitrary color, such as -#: #12af59 or red. WARNING: This option works by using a hack, as -#: there is no proper Cocoa API for it. It sets the background color -#: of the entire window and makes the titlebar transparent. As such it -#: is incompatible with background_opacity. If you want to use both, -#: you are probably better off just hiding the titlebar with -#: hide_window_decorations. - -macos_option_as_alt no - -#: Use the option key as an alt key. With this set to no, kitty will -#: use the macOS native Option+Key = unicode character behavior. This -#: will break any Alt+key keyboard shortcuts in your terminal -#: programs, but you can use the macOS unicode input technique. You -#: can use the values: left, right, or both to use only the left, -#: right or both Option keys as Alt, instead. - -macos_hide_from_tasks no - -#: Hide the kitty window from running tasks (Option+Tab) on macOS. - -macos_quit_when_last_window_closed no - -#: Have kitty quit when all the top-level windows are closed. By -#: default, kitty will stay running, even with no open windows, as is -#: the expected behavior on macOS. - -macos_window_resizable yes - -#: Disable this if you want kitty top-level (OS) windows to not be -#: resizable on macOS. - -macos_thicken_font 0 - -#: Draw an extra border around the font with the given width, to -#: increase legibility at small font sizes. For example, a value of -#: 0.75 will result in rendering that looks similar to sub-pixel -#: antialiasing at common font sizes. - -macos_traditional_fullscreen no - -#: Use the traditional full-screen transition, that is faster, but -#: less pretty. - -macos_show_window_title_in all - -#: Show or hide the window title in the macOS window or menu-bar. A -#: value of window will show the title of the currently active window -#: at the top of the macOS window. A value of menubar will show the -#: title of the currently active window in the macOS menu-bar, making -#: use of otherwise wasted space. all will show the title everywhere -#: and none hides the title in the window and the menu-bar. - -macos_custom_beam_cursor no - -#: Enable/disable custom mouse cursor for macOS that is easier to see -#: on both light and dark backgrounds. WARNING: this might make your -#: mouse cursor invisible on dual GPU machines. - -linux_display_server auto - -#: Choose between Wayland and X11 backends. By default, an appropriate -#: backend based on the system state is chosen automatically. Set it -#: to x11 or wayland to force the choice. - -#: }}} - #: Keyboard shortcuts {{{ #: Keys are identified simply by their lowercase unicode characters. @@ -538,7 +335,7 @@ 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. -# kitten_alias hints hints --hints-offset=0 +kitten_alias hints hints --hints-offset=0 --alphabet="asonetuhid'l,r.cpgyf;zqvjwkmxb" #: You can create aliases for kitten names, this allows overriding the #: defaults for kitten options and can also be used to shorten @@ -584,7 +381,9 @@ 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 shift+page_up scroll_page_up map kitty_mod+page_down scroll_page_down +map shift+page_down scroll_page_down map kitty_mod+home scroll_home map kitty_mod+end scroll_end map kitty_mod+h show_scrollback @@ -639,7 +438,7 @@ 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+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 @@ -722,7 +521,7 @@ 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+f kitten hints #: Open a currently visible URL using the keyboard. The program used #: to open the URL is specified in open_url_with.