centos7 - Vundle Vim not installing plugins -


i working vundle vim on centos 7 , having issues cannot seem install plugins have worked on other pcs , cannot seem remember how fix issue. removed .vim , .vimrc , re git cloned vundle git.

so when start vim receive:

error detected while processing /home/abarkley/.vimrc: line   24: e117: unknown function: vundle#begin line   26: e492: not editor command: plugin 'vundlevim/vundle.vim' line   27: e492: not editor command: plugin 'ekalinin/dockerfile.vim' line   28: e492: not editor command: plugin 'pangloss/vim-javascript' line   29: e492: not editor command: plugin 'elzr/vim-json' line   30: e492: not editor command: plugin 'vim-perl/vim-perl', { 'for': 'perl', 'do': 'make clean carp dancer highlight-all-pragmas moose test-more try-tiny' } line   31: e492: not editor command: plugin 'jparise/vim-graphql' line   32: e492: not editor command: plugin 'in3d/vim-raml' line   34: e492: not editor command: plugin 'godlygeek/tabular' line   35: e492: not editor command: plugin 'plasticboy/vim-markdown' line   37: e492: not editor command: bundle 'scrooloose/syntastic' line   39: e117: unknown function: vundle#end 

if open vundle , :plugininstall returns not editor command error.

also .vimrc need chmod in anyway after # sudo mv test.vimrc .vimrc

my .vimrc:

set nocompatible filetype off  set tabstop=4 set softtabstop=0 set expandtab set shiftwidth=4  let g:syntastic_mode_map = { 'mode': 'active',                             \ 'active_filetypes': ['python', 'javascript'],                             \ 'passive_filetypes': [] }  set statusline+=%#warningmsg# set statusline+=%{syntasticstatuslineflag()} set statusline+=%*  let g:syntastic_always_populate_loc_list = 1 let g:syntastic_auto_loc_list = 1 let g:syntastic_check_on_open = 1 let g:syntastic_check_on_wq = 0 let g:syntastic_javascript_checkers = ['eslint']  set rtp+=~/.vim/bundle/vundle.vim call vundle#begin()  plugin 'vundlevim/vundle.vim' plugin 'ekalinin/dockerfile.vim' plugin 'pangloss/vim-javascript' plugin 'elzr/vim-json' plugin 'vim-perl/vim-perl', { 'for': 'perl', 'do': 'make clean carp dancer highlight-all-pragmas moose test-more try-tiny' } plugin 'jparise/vim-graphql' plugin 'in3d/vim-raml'  plugin 'godlygeek/tabular' plugin 'plasticboy/vim-markdown'  bundle 'scrooloose/syntastic'  call vundle#end() filetype plugin indent on autocmd filetype gitcommit setlocal spell textwidth=72 

try this:

set nocompatible filetype off set rtp+=~/.vim/bundle/vundle.vim call vundle#begin()  plugin 'vundlevim/vundle.vim' plugin 'ekalinin/dockerfile.vim' plugin 'pangloss/vim-javascript' plugin 'elzr/vim-json' plugin 'vim-perl/vim-perl', { 'for': 'perl', 'do': 'make clean carp dancer highlight-all-pragmas moose test-more try-tiny' } plugin 'jparise/vim-graphql' plugin 'in3d/vim-raml'  plugin 'godlygeek/tabular' plugin 'plasticboy/vim-markdown'  bundle 'scrooloose/syntastic'  call vundle#end() set tabstop=4 set softtabstop=0 set expandtab set shiftwidth=4  let g:syntastic_mode_map = { 'mode': 'active',                             \ 'active_filetypes': ['python', 'javascript'],                             \ 'passive_filetypes': [] }  set statusline+=%#warningmsg# set statusline+=%{syntasticstatuslineflag()} set statusline+=%*  let g:syntastic_always_populate_loc_list = 1 let g:syntastic_auto_loc_list = 1 let g:syntastic_check_on_open = 1 let g:syntastic_check_on_wq = 0 let g:syntastic_javascript_checkers = ['eslint']   filetype plugin indent on autocmd filetype gitcommit setlocal spell textwidth=72 

(first call rtp, , bundle functionality, , set variables plugins)


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -