]> git.rmz.io Git - dotfiles.git/blobdiff - kitty/kitty.conf
vim: do not set pastetoggle in nvim
[dotfiles.git] / kitty / kitty.conf
index 0b89c60fb48d2698121428e039d4743f1519b395..73883419e38926d50404650ef8f8684ad1a42232 100644 (file)
@@ -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
 
@@ -243,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 <https://sw.kovidgoyal.net/kitty/kittens/hints/>. The
+#: special value of ask means that kitty will ask before opening the
+#: link when clicked.
+
+shell_integration no-sudo
+
 
 term xterm-kitty
 
@@ -261,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.
@@ -405,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
@@ -451,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
@@ -506,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
@@ -589,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.