Update kitty config

This commit is contained in:
rydesun 2023-01-27 21:48:11 +08:00
parent ef1f12bac0
commit 3c2015fad5
2 changed files with 21 additions and 5 deletions

View file

@ -29,19 +29,31 @@ scrollback_pager nvim --cmd "let paging=1 | let ansi=1"
map ctrl+shift+f scroll_page_down
map ctrl+shift+b scroll_page_up
### ctrl+t组窗口和标签
map ctrl+t>ctrl+d detach_window ask
### ctrl+g组hints
kitten_alias hints hints --alphabet ;ajfkdlshgqweruiopzxcvnmtby1230[
# 其他hints使用默认的ctrl+shift+p和ctrl+shift+e
# 插入
map ctrl+g>ctrl+g kitten hints --type=word --program -
map ctrl+g>ctrl+l kitten hints --type=line --program -
map ctrl+g>ctrl+u kitten hints --type=url --program -
# 复制
map ctrl+g>g kitten hints --type=word --program @
map ctrl+g>l kitten hints --type=line --program @
map ctrl+g>u kitten hints --type=url --program @
# 打开hyperlink (受open-actions.conf控制)
map ctrl+g>ctrl+o kitten hints --type=hyperlink
# 打开URL文本
map ctrl+g>ctrl+u kitten hints --type=url
# NOTE: hyperlink和URL文本是不同的东西
# 用goldendict查询单词
map ctrl+g>ctrl+t kitten hints --type=word --program goldendict
# 其他hints使用默认的快捷键ctrl+shift+p和ctrl+shift+e
# }}}
# vim: foldmethod=marker

View file

@ -1,14 +1,18 @@
foreground #d3c6aa
background #2b3339
background #272e33
cursor #d3c6aa
cursor_text_color #323c41
cursor_text_color #2e383c
# 链接下划线
url_color #7fbbb3
# 窗口分割线
active_border_color #a7c080
inactive_border_color #394f5a
# 标签栏
active_tab_foreground #9da9a0
active_tab_background #503946
active_tab_background #4c3743
inactive_tab_foreground #9da9a0
inactive_tab_background #394f5a