From d54640fa33a63b359999c5e1efda6e44393b6fad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=9Eahin=20Akkaya?= Date: Tue, 29 Apr 2025 14:33:24 +0300 Subject: [PATCH] Update kitty config --- .config/kitty/kitty.conf | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index 38eaf00..f00d229 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -2,7 +2,8 @@ # map f1 show_kitty_env_vars -kitty_mod alt + +kitty_mod cmd #: Special modifier key alias for default shortcuts. You can change #: the value of this option to alter all default shortcuts that use #: kitty_mod. @@ -10,7 +11,7 @@ kitty_mod alt clear_all_shortcuts yes #: Remove all shortcut definitions up to this point. Useful, for #: instance, to remove the default shortcuts. - +map ctrl+shift+f5 load_config_file # kitty-scrollback.nvim Kitten alias 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 #: bold_italic_font Operator Mono Medium Italic -font_size 11.0 +font_size 18.0 #: 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 #: 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 special value all means all layouts. The first listed layout #: 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 #: contents of the current tab. -tab_bar_style powerline +tab_bar_style custom #: 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, #: 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 #: 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 #: {activity_symbol} are not present in the template, they are #: 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 #: tab_title_template. @@ -1628,7 +1630,7 @@ startup_session sessions/example.session #: 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 +macos_option_as_alt left #: 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 @@ -1674,7 +1676,7 @@ startup_session sessions/example.session #: Use the macOS traditional full-screen transition, that is faster, #: 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 #: 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 -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 #:: 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:: ## new window beside -map kitty_mod+b launch --location=neighbor map kitty_mod+f launch --location=first #:: 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