I want to make a mapping that jumps to the file of a mark but on the last visited line. Ideally I would write something like this:
nnoremap z<mark> '<mark>`"
z is some command prefix and
<mark> is the mark I want to use. However I don't see any way to implement this for all marks. I could manually expand this but that is nasty.
nnoremap zA 'A`" nnoremap zB 'B`" nnoremap zC 'C`" " ...
I was wondering if there is anything nicer then iterating over all marks.
Bonus points if the command can be
za and the mark is automatically upper-cased.