Merge branch 'action_cwd_doc' of https://github.com/cbosdo/kitty

This commit is contained in:
Kovid Goyal 2022-10-10 14:04:29 +05:30
commit 48a4edc199
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -17,12 +17,12 @@ following contents:
# by the hyperlink_grep kitten and nothing else so far. # by the hyperlink_grep kitten and nothing else so far.
protocol file protocol file
fragment_matches [0-9]+ fragment_matches [0-9]+
action launch --type=overlay vim +${FRAGMENT} ${FILE_PATH} action launch --type=overlay --cwd=current vim +${FRAGMENT} ${FILE_PATH}
# Open text files without fragments in the editor # Open text files without fragments in the editor
protocol file protocol file
mime text/* mime text/*
action launch --type=overlay ${EDITOR} ${FILE_PATH} action launch --type=overlay --cwd=current ${EDITOR} ${FILE_PATH}
Now, run a search with:: Now, run a search with::