Ответ 1
как @FDinoff сказал, вы пропустили материал, который должен идти в вас .vimrc
.
вот как это могло бы выглядеть:
" vundle {{{1
" needed to run vundle (but i want this anyways)
set nocompatible
" vundle needs filtype plugins off
" i turn it on later
filetype plugin indent off
syntax off
" set the runtime path for vundle
set rtp+=~/.vim/bundle/Vundle.vim
" start vundle environment
call vundle#begin()
" list of plugins {{{2
" let Vundle manage Vundle (this is required)
"old: Plugin 'gmarik/Vundle.vim'
Plugin 'VundleVim/Vundle.vim'
" to install a plugin add it here and run :PluginInstall.
" to update the plugins run :PluginInstall! or :PluginUpdate
" to delete a plugin remove it here and run :PluginClean
"
" YOUR LIST OF PLUGINS GOES HERE LIKE THIS:
Plugin 'bling/vim-airline'
" add plugins before this
call vundle#end()
" now (after vundle finished) it is save to turn filetype plugins on
filetype plugin indent on
syntax on
вы можете проверить мой .vimrc
, если хотите (https://github.com/linluk/my-dot-files/blob/master/vimrc).
как описано в комментариях, необходимо установить плагины после добавления их в .vimrc
шаги по установке плагина
- добавьте его к
.vimrc
междуcall vundle#begin()
иcall vundle#end()
- сохранить
.vimrc
- type
<ESC>:PluginInstall<CR>
для обновления плагинов
- тип
<ESC>:PluginInstall!<CR>
или<ESC>:PluginUpdate<CR>
удалить плагин
- удалите его из
.vimrc
- сохранить
.vimrc
- тип
<ESC>:PluginClean<CR>