Update kitty config: keymaps and thin box-drawing

This commit is contained in:
rydesun 2025-03-09 21:13:38 +08:00
parent 7f2b7b3923
commit 1e86e15caf

View file

@ -11,6 +11,9 @@ window_alert_on_bell no
# 下划线位置(偏下)
modify_font underline_position 1
# 更细的边框线条字符
box_drawing_scale 0.001, 0.1, 1, 2
# Unicode PUA使用Nerd font会覆盖来自其他字体的字形
symbol_map U+E000-U+F8FF Symbols Nerd Font
# }}}
@ -25,6 +28,8 @@ scrollback_pager sh -c "exec nvim 63<&0 </dev/null --cmd 'let termcat=63'"
# }}}
# {{{ 按键
kitten_alias hints hints --alphabet ;ajfkdlshgqweruiopzxcvnmtby1230[
# 查看所有按键
map kitty_mod+f2 kitten scripts/list_keys.py
@ -32,13 +37,9 @@ map kitty_mod+f2 kitten scripts/list_keys.py
map kitty_mod+f scroll_page_down
map kitty_mod+b scroll_page_up
### ctrl+t组标签页和窗口
map ctrl+t>ctrl+n new_tab
map ctrl+t>ctrl+d detach_tab
map ctrl+t>ctrl+m detach_tab ask
### ctrl+g组按hints操作文本
kitten_alias hints hints --alphabet ;ajfkdlshgqweruiopzxcvnmtby1230[
### 标签页和窗口
map ctrl+g>ctrl+t new_tab
map ctrl+g>t detach_tab ask
#### 插入
map ctrl+g>ctrl+w kitten hints --type=word --program -