vb4c icon indicating copy to clipboard operation
vb4c copied to clipboard

how to force a link to open in the same tab with f?

Open g4570n opened this issue 4 years ago • 2 comments

f opens or follows a link in the same tab, but if the link has the target="_blank" attribute it opens it in a new tab (as if I used F). Is there any way to force f to always open the link in the same tab?

g4570n avatar Sep 07 '20 23:09 g4570n

The simple way is do a combination of keys, like gy + p. gy will copy the desired link and p will open the url copied.

Furthermore is diving into the source code and discover how to make a custom command. I guess.

andremeireles avatar Oct 05 '20 02:10 andremeireles

This works, thanks!

g4570n avatar Oct 05 '20 03:10 g4570n