jose
jose

Reputation: 399

entering netrw commands (or ¿what is {cnt} in netrw help?)

I'm puzzled with netrw. I want to go to a bookmark, and the help file says I can type {cnt}bm . I must be dumb, but I dont get it. :bm, {cnt}bm neither work. GVim on windows shows me a netrw menu in wich I can select 'Go to bookmark' and it works, but I want to use a keyboard shortcut. Ty for your help.

Upvotes: 1

Views: 222

Answers (1)

romainl
romainl

Reputation: 196546

You seem very confused indeed.

The command for jumping to a bookmark is {cnt}gb (not {cnt}bm) in which {cnt} is a bookmark number. In normal mode:

gb     " jump to latest bookmark
2gb    " jump to bookmark number 2

You can see a list of bookmarks and their numbers with qb.

Upvotes: 2

Related Questions