mirror of
https://github.com/sahinakkaya/dotfiles.git
synced 2024-11-14 13:09:37 +01:00
22 lines
712 B
Plaintext
22 lines
712 B
Plaintext
# Open any image in the full kitty window by clicking on it
|
|
protocol file
|
|
mime image/*
|
|
action launch --type=overlay kitten icat --hold ${FILE_PATH}
|
|
|
|
# Open any file with a fragment in vim, fragments are generated
|
|
# by the hyperlink_grep kitten or ripgrep v13.0+
|
|
protocol file
|
|
fragment_matches [0-9]+
|
|
action launch --type=overlay --cwd=current ${EDITOR} +${FRAGMENT} ${FILE_PATH}
|
|
|
|
# open file in $EDITOR when clicked
|
|
protocol file
|
|
mime text/*
|
|
action launch --type=overlay --cwd=current ${EDITOR} ${FILE_PATH}
|
|
|
|
# Tail a log file (*.log) in a new OS Window and reduce its font size
|
|
# protocol file
|
|
# ext log
|
|
# action launch --title ${FILE} --type=os-window tail -f ${FILE_PATH}
|
|
# action change_font_size current -2
|