vim-bookmarks icon indicating copy to clipboard operation
vim-bookmarks copied to clipboard

List of all bookmarks is not updated when adding or removing bookmarks

Open romcheg opened this issue 10 years ago • 4 comments

Workflow

  1. Add a bookmark (mm)
  2. Open a list of all bookmarks (ma)
  3. Add another bookmark
  4. Remove one or both created bookmarks (mm)

Expected List of all bookmarks is updated during adding or removing bookmarks

Result List is not being updated and still shows the fists created bookmark. After closing and re-opening, however, it displays updated info.

Demo Captured terminal window (asciinema) is permanently stored here: https://asciinema.org/a/14948

Vim version and build flags

VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 20 2014 16:09:22)
Included patches: 1-273
Modified by [email protected]
Compiled by buildd@
Huge version without GUI.  Features included (+) or not (-):
+acl             +cmdline_info    +emacs_tags      -hangul_input    +menu            +mouse_xterm     -python3         +syntax          +virtualedit     -xsmp
+arabic          +comments        +eval            +iconv           +mksession       +multi_byte      +quickfix        +tag_binary      +visual          -xterm_clipboard
+autocmd         +conceal         +ex_extra        +insert_expand   +modify_fname    +multi_lang      +reltime         +tag_old_static  +visualextra     -xterm_save
-balloon_eval    +cryptv          +extra_search    +jumplist        +mouse           -mzscheme        +rightleft       -tag_any_white   +viminfo         -xpm
-browse          +cscope          +farsi           +keymap          -mouseshape      +netbeans_intg   -ruby            -tcl             +vreplace
++builtin_terms  +cursorbind      +file_in_path    +langmap         +mouse_dec       +path_extra      +scrollbind      +terminfo        +wildignore
+byte_offset     +cursorshape     +find_in_path    +libcall         +mouse_gpm       -perl            +signs           +termresponse    +wildmenu
+cindent         +dialog_con      +float           +linebreak       -mouse_jsbterm   +persistent_undo +smartindent     +textobjects     +windows
-clientserver    +diff            +folding         +lispindent      +mouse_netterm   +postscript      -sniff           +title           +writebackup
-clipboard       +digraphs        -footer          +listcmds        +mouse_sgr       +printer         +startuptime     -toolbar         -X11
+cmdline_compl   -dnd             +fork()          +localmap        -mouse_sysmouse  +profile         +statusline      +user_commands   -xfontset
+cmdline_hist    -ebcdic          +gettext         -lua             +mouse_urxvt     +python          -sun_workshop    +vertsplit       -xim
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc   -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed -o vim        -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl    -L/usr/lib/python2.7/config-x86_64-linux-
gnu -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions

romcheg avatar Dec 23 '14 11:12 romcheg

@romcheg thanks for the detailed issue description. I'll check if the usage of the vim quickfix window allows to refresh the content or re-opening it with the new contents.

MattesGroeger avatar Dec 24 '14 10:12 MattesGroeger

Thanks @MattesGroeger!

romcheg avatar Dec 24 '14 10:12 romcheg

any news?

Tej12345 avatar Aug 02 '22 12:08 Tej12345

There is a workaround: use a map to call both BookmarkAnnotate and BookmarkShowAll.

nnoremap <leader>mi <Plug>BookmarkAnnotate <Plug>BookmarkShowAll

jamezchard avatar Nov 03 '22 17:11 jamezchard