feat: kitty: style tweaks & add hyperlinked-grep open config
This commit is contained in:
parent
fadb073153
commit
a91671f9fc
2 changed files with 21 additions and 2 deletions
|
@ -10,19 +10,28 @@
|
|||
background_opacity 0.7
|
||||
background_blur 16
|
||||
|
||||
# a bit for cursors
|
||||
cursor_shape block
|
||||
#cursor_trail 1
|
||||
|
||||
# fonts
|
||||
font_family SpaceMono Nerd Font
|
||||
bold_font auto
|
||||
italic_font auto
|
||||
bold_italic_font auto
|
||||
# for Chinese fonts
|
||||
# https://josephpei.github.io/2022/04/18/kitty-terminal-%E7%BB%88%E7%AB%AF/
|
||||
# https://josephpei.github.io/2022/04/18/kitty-terminal-终端/
|
||||
symbol_map U+4E00-U+9FFF,U+3400-U+4DBF Sarasa Term SC
|
||||
|
||||
# tab bar
|
||||
tab_bar_margin_height 2.0 2.0
|
||||
tab_bar_style powerline
|
||||
tab_bar_style slant
|
||||
tab_powerline_style angled
|
||||
tab_bar_align left
|
||||
|
||||
# window
|
||||
wayland_titlebar_color background
|
||||
hide_window_decorations no
|
||||
|
||||
# click links w/ ctrl+click
|
||||
mouse_map left click ungrabbed
|
||||
|
|
10
home/private_dot_config/kitty/open-actions.conf
Normal file
10
home/private_dot_config/kitty/open-actions.conf
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Open any file with a fragment in vim, fragments are generated
|
||||
# by the hyperlink-grep kitten and nothing else so far.
|
||||
protocol file
|
||||
fragment_matches [0-9]+
|
||||
action launch --type=overlay --cwd=current nvim +${FRAGMENT} -- ${FILE_PATH}
|
||||
|
||||
# Open text files without fragments in the editor
|
||||
protocol file
|
||||
mime text/*
|
||||
action launch --type=overlay --cwd=current -- ${EDITOR} -- ${FILE_PATH}
|
Loading…
Add table
Add a link
Reference in a new issue