Created
November 11, 2025 03:13
-
-
Save n-WN/11b4a1278c0312d95f2a3fd138b4f818 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Kitty 最小边框配置 | |
| # hide_window_decorations 控制窗口装饰 | |
| # titlebar-only: 只隐藏标题栏文字,保留控制按钮和可拖动区域 | |
| # yes: 完全隐藏所有装饰(无法拖动) | |
| # no: 显示完整标题栏 | |
| hide_window_decorations titlebar-only | |
| # 在macOS上标题栏设置 | |
| # titlebar-only 模式下仍可拖动窗口 | |
| macos_hide_titlebar no | |
| # macOS窗口控制选项 | |
| # 确保窗口可以用鼠标调整大小 | |
| macos_window_resizable yes | |
| # 窗口按照字符单元步骤调整大小 | |
| resize_in_steps yes | |
| # 窗口边距设置(可选) | |
| window_margin_width 0 | |
| window_padding_width 0 | |
| # 窗口边框设置 - 绘制最小边框 | |
| # draw_minimal_borders 当为 true 时,只绘制分隔非活动窗口的最小边框 | |
| draw_minimal_borders yes | |
| # 边框颜色配置 | |
| # active_border_color 活动窗口边框颜色(设置为 none 可禁用活动窗口边框) | |
| active_border_color #ff5fff | |
| # inactive_border_color 非活动窗口边框颜色 | |
| inactive_border_color #cccccc | |
| # bell_border_color 有响铃时的边框颜色 | |
| bell_border_color #ff5a00 | |
| # 其他美化选项 | |
| background #18191a | |
| foreground #e8e8e8 | |
| selection_background #4a90d9 | |
| selection_foreground #ffffff | |
| background_opacity 1.0 | |
| # 颜色主题 - 调亮青色和蓝色 | |
| color4 #5c9fd8 | |
| color12 #7db8e8 | |
| color6 #5ccfe6 | |
| color14 #7ee2f2 | |
| # 柔和的紫色 | |
| color5 #b084d6 | |
| color13 #c9a3e8 | |
| # 柔和的红色(w 权限) | |
| color1 #d77171 | |
| color9 #e89393 | |
| # 鲜艳的绿色和黄色(r 权限、用户名、大小) | |
| color2 #5bd65b | |
| color10 #6ff06f | |
| color3 #f5d855 | |
| color11 #ffeb3b | |
| # 字体设置 | |
| font_size 12.0 | |
| # Shell 设置 | |
| shell /opt/homebrew/bin/fish | |
| # 键盘映射 | |
| # 新建tab时使用当前工作目录 | |
| map cmd+shift+t launch --type=tab --cwd=current | |
| # 复制上一条命令的输出到剪贴板 | |
| map cmd+shift+c launch --stdin-source=@last_cmd_output --type=clipboard | |
| # 行首/尾跳转 | |
| map cmd+left send_text all \x01 | |
| map cmd+right send_text all \x05 | |
| # 文件首/尾跳转(适用于 iPython 等) | |
| map cmd+up send_text all \x1b[1;5H | |
| map cmd+down send_text all \x1b[1;5F | |
| # 标签页切换 | |
| 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 | |
| # 在Finder中打开当前目录 | |
| # Cmd+Shift+O - 打开当前目录到Finder | |
| map cmd+shift+o launch --type=background --cwd=current bash -c 'open "$PWD"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment