That is, when you hit the marks operator key ` or ' you get a list of the available marks - i.e. the list vim gives from the ex command :marks
. Then, when you press a letter to jump to the mark, you will be taken there - as usual. So if I want to jump to say mark m
, with the normal mode command `m you would type:
- `
- the
:marks
window or similar would appear and you can see the available marks - m
- cursor jumps to the
m
mark
For those people familiar with it, the ranger file manager already performs the exact way I would like vim to regarding the usage of marks. Ranger is terminal file explorer that uses vim key bindings and concepts, a ranger bookmark denotes a file and not a line and column position in a text file, but the concept is the same. Here is a screencast demonstration of ranger's marks feature that I want to make happen in vim.
Is it possible to do this in vim, or is there a plugin that does this?
:marks
and then pressing a character mark to move there itself is a simple thing. It can't be simplified further. You may use mappings for that.