Closed wizhi closed 3 years ago
@Wizhi I'm note sure if I got your point. But I assume you want the $VIMB_URI
to be expanded to the current URL when you use go
or gO
.
But you could use the register for the current url which ist stored at "%
which can be accessed in command mode by CTRL-R %
.
:nnoremap go :open <C-R>%
Sorry I probably didn't explain it very well. :)
That's exactly what I needed though - thanks a bunch. I suppose I need to read the manual again.
Also, thanks a bunch for creating vimb
, it's great. :+1:
I can't seem to find any documentation on available variables for the
:open
command.Basically, I wish to end up with the following normal mappings:
The documentation doesn't mention anything like this, and I can't quite grok the C source code, so maybe this simply isn't possible.