mirror of
https://github.com/DefectingCat/dotfiles
synced 2025-07-16 01:01:36 +00:00
update kitty config
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
# vim:fileencoding=utf-8:foldmethod=marker
|
||||
|
||||
kitty_mod alt
|
||||
#: Fonts {{{
|
||||
|
||||
#: kitty has very powerful font management. You can configure
|
||||
@ -24,7 +25,7 @@ bold_italic_font auto
|
||||
#: italic_font Operator Mono Book Italic
|
||||
#: bold_italic_font Operator Mono Medium Italic
|
||||
|
||||
font_size 16.0
|
||||
font_size 13.0
|
||||
|
||||
#: Font size (in pts)
|
||||
|
||||
@ -750,7 +751,8 @@ window_padding_width 0
|
||||
#: Fade the text in inactive windows by the specified amount (a number
|
||||
#: between zero and one, with zero being fully faded).
|
||||
|
||||
hide_window_decorations titlebar-only
|
||||
# hide_window_decorations titlebar-only
|
||||
# hide_window_decorations yes
|
||||
|
||||
#: Hide the window decorations (title-bar and window borders) with
|
||||
#: yes. On macOS, titlebar-only can be used to only hide the titlebar.
|
||||
@ -1341,7 +1343,7 @@ tab_title_template "{index}: {title[title.rfind('/')+1:]}"
|
||||
#: }}}
|
||||
|
||||
#: OS specific tweaks {{{
|
||||
# wayland_titlebar_color system
|
||||
# wayland_titlebar_color #1E1E2E
|
||||
|
||||
#: The color of the kitty window's titlebar on Wayland systems with
|
||||
#: client side window decorations such as GNOME. A value of system
|
||||
@ -1444,7 +1446,7 @@ macos_menubar_title_max_length 0
|
||||
#: configuration will change this value only for newly created OS
|
||||
#: windows.
|
||||
|
||||
# linux_display_server x11
|
||||
linux_display_server x11
|
||||
|
||||
#: Choose between Wayland and X11 backends. By default, an appropriate
|
||||
#: backend based on the system state is chosen automatically. Set it
|
||||
@ -1567,10 +1569,10 @@ macos_menubar_title_max_length 0
|
||||
# map shift+down move_window down
|
||||
|
||||
# Switch focus to the neighboring window in the indicated direction
|
||||
map alt+h neighboring_window left
|
||||
map alt+l neighboring_window right
|
||||
map alt+k neighboring_window up
|
||||
map alt+j neighboring_window down
|
||||
map kitty_mod+h neighboring_window left
|
||||
map kitty_mod+l neighboring_window right
|
||||
map kitty_mod+k neighboring_window up
|
||||
map kitty_mod+j neighboring_window down
|
||||
|
||||
#: Clipboard {{{
|
||||
|
||||
@ -1711,7 +1713,7 @@ map alt+j neighboring_window down
|
||||
#: New window
|
||||
|
||||
# map kitty_mod+enter new_window
|
||||
map cmd+d new_window
|
||||
map kitty_mod+d new_window
|
||||
|
||||
#:: You can open a new kitty window running an arbitrary program, for
|
||||
#:: example::
|
||||
@ -1847,15 +1849,15 @@ map cmd+d new_window
|
||||
|
||||
#: Tab management {{{
|
||||
|
||||
map cmd+1 goto_tab 1
|
||||
map cmd+2 goto_tab 2
|
||||
map cmd+3 goto_tab 3
|
||||
map cmd+4 goto_tab 4
|
||||
map cmd+5 goto_tab 5
|
||||
map cmd+6 goto_tab 6
|
||||
map cmd+7 goto_tab 7
|
||||
map cmd+8 goto_tab 8
|
||||
map cmd+9 goto_tab 9
|
||||
map kitty_mod+1 goto_tab 1
|
||||
map kitty_mod+2 goto_tab 2
|
||||
map kitty_mod+3 goto_tab 3
|
||||
map kitty_mod+4 goto_tab 4
|
||||
map kitty_mod+5 goto_tab 5
|
||||
map kitty_mod+6 goto_tab 6
|
||||
map kitty_mod+7 goto_tab 7
|
||||
map kitty_mod+8 goto_tab 8
|
||||
map kitty_mod+9 goto_tab 9
|
||||
#: Next tab
|
||||
|
||||
# map kitty_mod+right next_tab
|
||||
@ -1872,17 +1874,16 @@ map cmd+9 goto_tab 9
|
||||
|
||||
#: New tab
|
||||
|
||||
# map kitty_mod+t new_tab
|
||||
map cmd+t new_tab
|
||||
map kitty_mod+t new_tab
|
||||
|
||||
#: Close tab
|
||||
|
||||
# map kitty_mod+q close_tab
|
||||
map cmd+w close_tab
|
||||
map kitty_mod+w close_tab
|
||||
|
||||
#: Close OS window
|
||||
|
||||
# map shift+cmd+w close_os_window
|
||||
map kitty_mod+q close_os_window
|
||||
|
||||
#: Move tab forward
|
||||
|
||||
|
Reference in New Issue
Block a user