This commit is contained in:
Kovid Goyal
2020-09-18 19:46:49 +05:30
parent 00125577a9
commit f936918278

View File

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