Skip to content

Commit

Permalink
Modify doc/bookmarks.txt for the bookmark moving function and warning…
Browse files Browse the repository at this point in the history
… when toggling to clear a bookmark with annotation
  • Loading branch information
yuan- committed Sep 16, 2015
1 parent 3db1895 commit d172711
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions doc/bookmarks.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ Commands for using Bookmarks
:BookmarkClearAll *:BookmarkClearAll*
Removes bookmarks for all buffer

:BookmarkMoveup *:BookmarkMoveup*
Move up the bookmark at current line

:BookmarkMoveDown *:BookmarkMoveDown*
Move down the bookmark at current line

:BookmarkSave <FILE_PATH> *:BookmarkSave*
Saves all bookmarks to a file so you can load them back in later

Expand Down Expand Up @@ -162,6 +168,8 @@ To change the default keys:
nmap <Leader>k <Plug>BookmarkPrev
nmap <Leader>c <Plug>BookmarkClear
nmap <Leader>x <Plug>BookmarkClearAll
nmap <Leader>kk <Plug>BookmarkMoveUp
nmap <Leader>jj <Plug>BookmarkMoveDown
<

To prevent any default mappings from being created (default: 0):
Expand Down Expand Up @@ -218,6 +226,12 @@ Turn off the warning when clearing all bookmarks (default 1):
let g:bookmark_show_warning = 0
<

Turn off the warning when toggling to clear a bookmark with annotation (default 1):

>
let g:bookmark_show_toggle_warning = 0
<

Turn on vertical line centering when jumping to bookmark (default 0):

>
Expand Down

0 comments on commit d172711

Please sign in to comment.