Skip to content

Commit

Permalink
Merge upstream kitty configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ytang committed Aug 19, 2021
1 parent 18e175a commit b208432
Showing 1 changed file with 34 additions and 15 deletions.
49 changes: 34 additions & 15 deletions kitty.conf
Expand Up @@ -389,6 +389,11 @@ pointer_shape_when_dragging beam
#: Once a selection is started, releasing the button that started it will
#: automatically end it and no release event will be dispatched.

clear_all_mouse_actions no

#: You can have kitty remove all mouse actions seen up to this point.
#: Useful, for instance, to remove the default mouse actions.

mouse_map left click ungrabbed mouse_click_url_or_select
mouse_map shift+left click grabbed,ungrabbed mouse_click_url_or_select
mouse_map ctrl+shift+left release grabbed,ungrabbed mouse_click_url
Expand Down Expand Up @@ -654,13 +659,20 @@ tab_bar_margin_height 0.0 0.0

tab_bar_style fade

#: The tab bar style, can be one of: fade, separator, powerline, or
#: hidden. In the fade style, each tab's edges fade into the
#: background color, in the separator style, tabs are separated by a
#: configurable separator, and the powerline shows the tabs as a
#: continuous line. If you use the hidden style, you might want to
#: create a mapping for the select_tab action which presents you with
#: a list of tabs and allows for easy switching to a tab.
#: The tab bar style, can be one of:

#: fade
#: Each tab's edges fade into the background color (see tab_fade)
#: slant
#: Tabs look like the tabs in a physical file
#: separator
#: Tabs are separated by a configurable separator (see tab_separator)
#: powerline
#: Tabs are shown as a continuous line with "fancy" separators (see tab_powerline_style)
#: hidden
#: The tab bar is hidden. If you use this, you might want to create a mapping
#: for the https://sw.kovidgoyal.net/kitty/actions/#select-tab action which presents you with a list
#: of tabs and allows for easy switching to a tab.

tab_bar_min_tabs 2

Expand Down Expand Up @@ -928,8 +940,8 @@ allow_remote_control yes
#: to the socket specified with the kitty --listen-on command line
#: option, if you use the value socket-only. The latter is useful if
#: you want to prevent programs running on a remote computer over ssh
#: from controlling kitty. Changing this option by reloading the
#: config will only affect newly created windows.
#: from controlling kitty. Reloading the config will not affect this
#: setting.

listen_on none

Expand Down Expand Up @@ -970,11 +982,11 @@ startup_session none
#: Path to a session file to use for all kitty instances. Can be
#: overridden by using the kitty --session command line option for
#: individual instances. See
#: https://sw.kovidgoyal.net/kitty/overview/#layouts in the kitty
#: documentation for details. Note that relative paths are interpreted
#: with respect to the kitty config directory. Environment variables
#: in the path are expanded. Changing this option by reloading the
#: config is not supported.
#: https://sw.kovidgoyal.net/kitty/overview/#startup-sessions in the
#: kitty documentation for details. Note that relative paths are
#: interpreted with respect to the kitty config directory. Environment
#: variables in the path are expanded. Changing this option by
#: reloading the config is not supported.

clipboard_control write-clipboard write-primary

Expand All @@ -984,7 +996,14 @@ clipboard_control write-clipboard write-primary
#: primary read-primary. The default is to allow writing to the
#: clipboard and primary selection. Note that enabling the read
#: functionality is a security risk as it means that any program, even
#: one running on a remote server via SSH can read your clipboard.
#: one running on a remote server via SSH can read your clipboard. See
#: also clipboard_max_size.

clipboard_max_size 64

#: The maximum size (in MB) of data from programs running in kitty
#: that will be stored for writing to the system clipboard. See also
#: clipboard_control. A value of zero means no size limit is applied.

allow_hyperlinks yes

Expand Down

0 comments on commit b208432

Please sign in to comment.