Vundle.vim: I got Error detected while processing /root/.vimrc: when I use VI instead of VIM

Created on 23 Oct 2015  路  3Comments  路  Source: VundleVim/Vundle.vim

Hi,

I get this error while I use vi instead of vim?

Did i miss someting?

vim work well with all my pluging.

# vi
Error detected while processing /root/.vimrc:
line   15:
E492: Not an editor command: Plugin 'gmarik/Vundle.vim'
line   18:
E492: Not an editor command: Plugin 'elzr/vim-json'
line   21:
E492: Not an editor command: Plugin 'godlygeek/tabular'
line   22:
E492: Not an editor command: Plugin 'plasticboy/vim-markdown'
line   25:
E492: Not an editor command: Plugin 'rodjek/vim-puppet'
line   27:
E492: Not an editor command: Plugin 'scrooloose/Syntastic'
Press ENTER or type command to continue

.vimrc

set nocompatible              " be iMproved, required
filetype off                  " required

" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')

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

"Plugin to highlight json syntax
Plugin 'elzr/vim-json'

"Markdown plugin
Plugin 'godlygeek/tabular'
Plugin 'plasticboy/vim-markdown'

" Puppet syntax
Plugin 'rodjek/vim-puppet'
" Puppet Syntax valiator
Plugin 'scrooloose/Syntastic'

" All of your Plugins must be added before the following line
call vundle#end()            " required
filetype plugin indent on    " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :PluginList       - lists configured plugins
" :PluginInstall    - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean      - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line

" Disable Markdown Folding:
let g:vim_markdown_folding_disabled=1
"Disable Concealing
let g:vim_json_syntax_conceal = 0

Most helpful comment

All 3 comments

what is the solution

I had a similar issue on CentOs. It was because I had the vim-minimal package installed which only came with a "vi" executable鹿. The solution for me was to install the vim-enhanced package instead. If you don't have root on your system you can instead install vim from source for just yourself in your home directory or some other directory that you can write to.

鹿 When Vim see's that the executable is called "vi" it doesn't support a number of enhanced features including plugins.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

arnsa picture arnsa  路  6Comments

binarykitchen picture binarykitchen  路  3Comments

Zane-XY picture Zane-XY  路  8Comments

genokan picture genokan  路  4Comments

sus007 picture sus007  路  5Comments