0

I am trying to add the BOOKMARKS plugin from http://www.vim.org/scripts/script.php?script_id=3394 to Vundle in vimrc. This is from my vimrc:

call vundle#begin()

    " let Vundle manage Vundle
    Plugin 'gmarik/Vundle.vim'

    " supports vim-shell
    Plugin 'xolox/vim-misc'

    " <F6> mappings to open paths, URLs
    Plugin 'xolox/vim-shell'

    " mappings to navigate buffers and args
    Plugin 'tpope/vim-unimpaired'

    " FileBeagle
    Plugin 'jeetsukumaran/vim-filebeagle'

    " ctrl-P
    Plugin 'ctrlpvim/ctrlp.vim'

    " BOOKMARKS: Mark & Highlight Full Lines
    Plugin 'BOOKMARKS'

call vundle#end()   " All of your Plugins must be added before this line

Screen shot of :PluginList: enter image description here

ctrl-P works, but BOOKMARKS does not.

from https://github.com/VundleVim/Vundle.vim/blob/v0.10.2/doc/vundle.txt#L126-L233

" The following are examples of different formats supported.
...
" plugin from http://vim-scripts.org/vim/scripts.html
Plugin 'L9'
4

2 回答 2

2

试试这个(在http://vimawesome.com上找到):

Plugin 'Mark-and-Highlight-Full-Lines'

编辑:FDinoff 是正确的(像往常一样):插件移动了,所以要添加的正确行如下:

Plugin 'BOOKMARKS--Mark-and-Highlight-Full-Lines'
于 2015-10-20T18:13:19.283 回答
0

显然 Vundle 不支持 URI http://www.vim.org/scripts/script.php 所以我将 markHL.vim 文件复制到 ~/.vim/plugin/ 并且有效。

于 2015-10-20T18:12:21.080 回答