mirror of
https://github.com/sahinakkaya/dotfiles.git
synced 2025-05-14 19:22:38 +02:00
Update kitty config
This commit is contained in:
parent
76e83df773
commit
d54640fa33
@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
# map f1 show_kitty_env_vars
|
# map f1 show_kitty_env_vars
|
||||||
|
|
||||||
kitty_mod alt
|
|
||||||
|
kitty_mod cmd
|
||||||
#: Special modifier key alias for default shortcuts. You can change
|
#: Special modifier key alias for default shortcuts. You can change
|
||||||
#: the value of this option to alter all default shortcuts that use
|
#: the value of this option to alter all default shortcuts that use
|
||||||
#: kitty_mod.
|
#: kitty_mod.
|
||||||
@ -10,7 +11,7 @@ kitty_mod alt
|
|||||||
clear_all_shortcuts yes
|
clear_all_shortcuts yes
|
||||||
#: Remove all shortcut definitions up to this point. Useful, for
|
#: Remove all shortcut definitions up to this point. Useful, for
|
||||||
#: instance, to remove the default shortcuts.
|
#: instance, to remove the default shortcuts.
|
||||||
|
map ctrl+shift+f5 load_config_file
|
||||||
|
|
||||||
# kitty-scrollback.nvim Kitten alias
|
# kitty-scrollback.nvim Kitten alias
|
||||||
action_alias kitty_scrollback_nvim kitten $HOME/.local/share/nvim/lazy/kitty-scrollback.nvim/python/kitty_scrollback_nvim.py
|
action_alias kitty_scrollback_nvim kitten $HOME/.local/share/nvim/lazy/kitty-scrollback.nvim/python/kitty_scrollback_nvim.py
|
||||||
@ -51,7 +52,7 @@ font_family FantasqueSansM Nerd Font Mono
|
|||||||
#: italic_font Operator Mono Book Italic
|
#: italic_font Operator Mono Book Italic
|
||||||
#: bold_italic_font Operator Mono Medium Italic
|
#: bold_italic_font Operator Mono Medium Italic
|
||||||
|
|
||||||
font_size 11.0
|
font_size 18.0
|
||||||
|
|
||||||
#: Font size (in pts)
|
#: Font size (in pts)
|
||||||
|
|
||||||
@ -809,8 +810,8 @@ visual_bell_duration 0.05
|
|||||||
#: suffix of "c" on the width/height values to have them interpreted
|
#: suffix of "c" on the width/height values to have them interpreted
|
||||||
#: as number of cells instead of pixels.
|
#: as number of cells instead of pixels.
|
||||||
|
|
||||||
# enabled_layouts *
|
# enabled_layouts tall, fat:bias=75, splits:split_axis=vertical, grid, vertical, horizontal, stack
|
||||||
|
enabled_layouts fat:bias=75, tall, splits:split_axis=vertical, grid, stack
|
||||||
#: The enabled window layouts. A comma separated list of layout names.
|
#: The enabled window layouts. A comma separated list of layout names.
|
||||||
#: The special value all means all layouts. The first listed layout
|
#: The special value all means all layouts. The first listed layout
|
||||||
#: will be used as the startup layout. Default configuration is all
|
#: will be used as the startup layout. Default configuration is all
|
||||||
@ -994,7 +995,7 @@ visual_window_select_characters hjklfdsagtyrueiwoqpbnvmcxz
|
|||||||
#: The second number is the margin between the tab bar and the
|
#: The second number is the margin between the tab bar and the
|
||||||
#: contents of the current tab.
|
#: contents of the current tab.
|
||||||
|
|
||||||
tab_bar_style powerline
|
tab_bar_style custom
|
||||||
|
|
||||||
#: The tab bar style, can be one of:
|
#: The tab bar style, can be one of:
|
||||||
|
|
||||||
@ -1025,7 +1026,7 @@ tab_bar_align left
|
|||||||
#: The horizontal alignment of the tab bar, can be one of: left,
|
#: The horizontal alignment of the tab bar, can be one of: left,
|
||||||
#: center, right.
|
#: center, right.
|
||||||
|
|
||||||
# tab_bar_min_tabs 2
|
tab_bar_min_tabs 1
|
||||||
|
|
||||||
#: The minimum number of tabs that must exist before the tab bar is
|
#: The minimum number of tabs that must exist before the tab bar is
|
||||||
#: shown.
|
#: shown.
|
||||||
@ -1112,7 +1113,8 @@ tab_title_template "{title}{fmt.bold}{' ' if num_windows > 1 and layout_name
|
|||||||
#: Note that for backward compatibility, if {bell_symbol} or
|
#: Note that for backward compatibility, if {bell_symbol} or
|
||||||
#: {activity_symbol} are not present in the template, they are
|
#: {activity_symbol} are not present in the template, they are
|
||||||
#: prepended to it.
|
#: prepended to it.
|
||||||
active_tab_title_template "{fmt.fg.tab}{index}{sup.layout_name[:2].lower()}:{title}"
|
# active_tab_title_template "{" " if layout_name == "grid" else " " if layout_name == "stack" else " " if layout_name == "fat" else " " if layout_name == "tall" else " "}{fmt.fg.tab}{sub.index}:{title}"
|
||||||
|
active_tab_title_template "{fmt.fg.tab}{index}:{title}"
|
||||||
|
|
||||||
#: Template to use for active tabs. If not specified falls back to
|
#: Template to use for active tabs. If not specified falls back to
|
||||||
#: tab_title_template.
|
#: tab_title_template.
|
||||||
@ -1628,7 +1630,7 @@ startup_session sessions/example.session
|
|||||||
#: background_opacity. If you want to use both, you are probably
|
#: background_opacity. If you want to use both, you are probably
|
||||||
#: better off just hiding the titlebar with hide_window_decorations.
|
#: better off just hiding the titlebar with hide_window_decorations.
|
||||||
|
|
||||||
# macos_option_as_alt no
|
macos_option_as_alt left
|
||||||
|
|
||||||
#: Use the Option key as an Alt key on macOS. With this set to no,
|
#: Use the Option key as an Alt key on macOS. With this set to no,
|
||||||
#: kitty will use the macOS native Option+Key to enter Unicode
|
#: kitty will use the macOS native Option+Key to enter Unicode
|
||||||
@ -1674,7 +1676,7 @@ startup_session sessions/example.session
|
|||||||
#: Use the macOS traditional full-screen transition, that is faster,
|
#: Use the macOS traditional full-screen transition, that is faster,
|
||||||
#: but less pretty.
|
#: but less pretty.
|
||||||
|
|
||||||
# macos_show_window_title_in all
|
macos_show_window_title_in none
|
||||||
|
|
||||||
#: Control where the window title is displayed on macOS. A value of
|
#: Control where the window title is displayed on macOS. A value of
|
||||||
#: window will show the title of the currently active window at the
|
#: window will show the title of the currently active window at the
|
||||||
@ -1967,7 +1969,8 @@ map kitty_mod+g kitty_scrollback_nvim --config ksb_builtin_last_cmd_output
|
|||||||
|
|
||||||
#: New window
|
#: New window
|
||||||
|
|
||||||
map kitty_mod+c launch --cwd=current
|
map kitty_mod+c launch --cwd=current --location=vsplit
|
||||||
|
map kitty_mod+shift+c launch --cwd=current --location=hsplit
|
||||||
# map cmd+enter new_window
|
# map cmd+enter new_window
|
||||||
|
|
||||||
#:: You can open a new kitty window running an arbitrary program, for
|
#:: You can open a new kitty window running an arbitrary program, for
|
||||||
@ -1991,7 +1994,6 @@ map kitty_mod+c launch --cwd=current
|
|||||||
#:: as the first window, with::
|
#:: as the first window, with::
|
||||||
|
|
||||||
## new window beside
|
## new window beside
|
||||||
map kitty_mod+b launch --location=neighbor
|
|
||||||
map kitty_mod+f launch --location=first
|
map kitty_mod+f launch --location=first
|
||||||
|
|
||||||
#:: For more details, see launch
|
#:: For more details, see launch
|
||||||
@ -2537,3 +2539,4 @@ map kitty_mod+l send_text application \f
|
|||||||
|
|
||||||
#: }}}
|
#: }}}
|
||||||
|
|
||||||
|
map kitty_mod+b launch --allow-remote-control kitty +kitten broadcast --match-tab state:focused
|
||||||
|
Loading…
Reference in New Issue
Block a user