1

I work with vim netranger for file management. The version I use doesn't have a bookmark feature for files. That means to be able to quickly navigate to a common files by a defined keyboard shortcut.

Do you know of an external plugin that does?

eyal karni
  • 1,106
  • 9
  • 33

2 Answers2

3

Vim includes this as a standard feature.

You can mark a location in a file with any upper case letter: mA. You can then jump to your bookmark with either a single quote or backtick: `A.

The marks are saved when you exit Vim.

(Sidenote: Suddenly discovering — after knowing it existed for many years — that this feature could be used for permanent bookmarks was a game changer for me. Before that point I'd never once used an uppercase mark. Now I have several that I use to jump to files I access frequently. e.g. I have mark 'T at the top of a TODO file so I can very quickly capture work items whatever I'm doing.)

Rich
  • 31,891
  • 3
  • 72
  • 139
0

I use vim-bookmark which is really basic... but it is fine.

Vivian De Smedt
  • 16,336
  • 3
  • 18
  • 37
eyal karni
  • 1,106
  • 9
  • 33