vim-bookmark
Installation
Install either with vim-plug, Vundle, Pathogen or Neobundle.
Usage
This plugin enables user to bookmark files and open them:
" Add the current file to the bookmark file
:BookmarkAdd
" Add the current file, affixed with line number, to the bookmark file
:BookmarkAddPos
" Remove the current file from the bookmark file
:BookmarkDel
" Display the bookmark file. Pressing `<cr>` in it brings you to the selected file
" Note that you can directly edit the bookmark file
:BookmarkGo
All of the above command takes an optional argument specifying which bookmark you want to use. If not provided, default
is used.
Instead of using the BookmarkGo
, one could also use other fuzzy finder (e.g.
fzf, denite) to select the files to go:
call fzf#run(fzf#wrap({'source': bookmark#list()}))