1   Update on commandline.open() (2011-07-21T22:24:21Z)

Some months after I posted this, this didn’t work anymore. Yesterday, I finally decided to fix this. The JavaScript code is actually being evaluated, but the prompt with :bmark doesn’t show up. If I run manually, it still doesn’t sure, but the command has been entered into the history.

I read some plugins’ source code, but nothing really gave me any hint. They just work with virtually same commandline.open() code. But then I realized, they actually is executed after XMLHttpRequest().

So, the fix is

# map a :js my_bookmark_adder()<CR>
map a :js setTimeout(my_bookmark_adder, 0)<CR>

Or you can do it in the function.

I don’t know when and what actually cause this and I don’t really care. If you find out which commit causes this, feel free to tell me.

2   Original post

If you use bookmarks to organize your to-read list, or you bookmark on certain website a lot. You might want to tag with readlater or remove some words from bookmark titles, such as website’s name.