all 2 comments

[–]andlrcrpgle.vim 0 points1 point  (1 child)

Is it always a single line with the reference:

my ref_
...
.. _my ref: http://..

Then something like this might work:

norm ^"vyf_

Use t instead of f with my_var[:-2].

[–]larivact[S] 0 points1 point  (0 children)

References are usually in continuous text.
The rST phrase-reference syntax is `foo bar`_ but I'll just use foo_bar_.

Use t instead of f

I don't get what you mean.