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
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