将vim.org/scripts/script.php中的插件添加到vimrc中的Vundle

时间:2015-10-20 16:37:37

标签: vim vundle

我正在尝试将http://www.vim.org/scripts/script.php?script_id=3394中的BOOKMARKS插件添加到vimrc中的Vundle。 这是来自我的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

屏幕截图:PluginList: enter image description here

ctrl-P有效,但BOOKMARKS没有。

来自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'

2 个答案:

答案 0 :(得分:2)

请改为尝试(在http://vimawesome.com上找到):

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

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

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

答案 1 :(得分:0)

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