将 vim.org/scripts/script.php 中的插件添加到 vimrc 中的 Vundle
Add plugin from vim.org/scripts/script.php to Vundle in vimrc
我正在尝试将 BOOKMARKS 插件从 http://www.vim.org/scripts/script.php?script_id=3394 添加到 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 的屏幕截图:
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'
显然 Vundle 不支持 URI http://www.vim.org/scripts/script.php
所以我将 markHL.vim 文件复制到 ~/.vim/plugin/ 并且成功了。
试试这个(在 http://vimawesome.com 上找到):
Plugin 'Mark-and-Highlight-Full-Lines'
编辑:
FDinoff 是对的(和往常一样):插件移动了,所以要添加的正确行如下:
Plugin 'BOOKMARKS--Mark-and-Highlight-Full-Lines'
我正在尝试将 BOOKMARKS 插件从 http://www.vim.org/scripts/script.php?script_id=3394 添加到 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 的屏幕截图:
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'
显然 Vundle 不支持 URI http://www.vim.org/scripts/script.php 所以我将 markHL.vim 文件复制到 ~/.vim/plugin/ 并且成功了。
试试这个(在 http://vimawesome.com 上找到):
Plugin 'Mark-and-Highlight-Full-Lines'
编辑: FDinoff 是对的(和往常一样):插件移动了,所以要添加的正确行如下:
Plugin 'BOOKMARKS--Mark-and-Highlight-Full-Lines'