mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-26 18:22:09 +02:00
...
This commit is contained in:
@@ -11,17 +11,17 @@ following contents:
|
|||||||
|
|
||||||
.. code:: conf
|
.. code:: conf
|
||||||
|
|
||||||
# Open any file with a fragment in the editor, fragments are generated
|
# Open any file with a fragment in vim, fragments are generated
|
||||||
# by the hyperlink_grep kitten and nothing else so far.
|
# by the hyperlink_grep kitten and nothing else so far.
|
||||||
protocol file
|
protocol file
|
||||||
has_fragment yes
|
has_fragment yes
|
||||||
action launch --type=overlay vim +$FRAGMENT $FILE_PATH
|
action launch --type=overlay 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/*
|
||||||
has_fragment no
|
has_fragment no
|
||||||
action launch --type=overlay $EDITOR $FILE_PATH
|
action launch --type=overlay ${EDITOR} ${FILE_PATH}
|
||||||
|
|
||||||
|
|
||||||
Now, run a search with::
|
Now, run a search with::
|
||||||
|
|||||||
Reference in New Issue
Block a user