Vundle does not install vim plugins - vim

I was trying to install vim plugins but it always doesn't work. Here is my .vimrc:
set nocompatible
filetype off
" set up Vundle
" let Vundle manage Vundle
" required!
set rtp+=~/.vim/bundle/Vundle.vim
"plugins list
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'}
Plugin 'klen/python-mode'
Plugin 'scrooloose/nerdtree'
Plugin 'vim-scripts/indentpython.vim'
Plugin 'Valloric/YouCompleteMe'
Plugin 'jnurmine/Zenburn'
Plugin 'altercation/vim-colors-solarized'
Plugin 'jalvesaq/R-Vim-runtime'
call vundle#end()
filetype plugin indent on
syntax enable
syntax on
And when I ran :PluginInstall, only VundleVim/Vundle.vim was installed (see below). I have tried many ways that I can find online but still can't fix it. Any suggestions?

I had the same issue, vim into ~/.vimrc and run :source % and then :PluginInstall worked for me.

I'm on mac os Big Sur, vundle will only instal itself if I type :PluginInstall after edit and saved .vimrc.
:source % or :so % worked for me!

Related

Unable to install powerline in Vim

I have this in my config file:
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'helino/vim-nasm'
Plugin 'elixir-lang/vim-elixir'
Plugin 'powerline/powerline'
call vundle#end()
And then I did this:
:source %
:PluginInstall
But the plugin powerline is still not installed, it's not visible.
https://github.com/powerline/powerline
Powerline only display when plugin like NERDtree is active. If you want to display it every time add this line to your .vimrc file.
set laststatus=2

E492: Not an editor command: TlistToggle

I am using Vim with cscope, ctags and TagList.
When I open a file with just using vim. I am able to use TagList but when I open a file using cscope, there comes error as:
Error detected while processing /gauravg/.vimrc:
line 9:
E492: Not an editor command: Bundle 'VundleVim/Vundle.vim'
line 13:
E492: Not an editor command: Plugin 'plugin/taglist.vim'
Press ENTER or type command to continue
Below is my .vimrc file:
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle
" required!
Bundle 'VundleVim/Vundle.vim'
call vundle#end()
"Plugin 'tpope/vim-fugitive'
"Plugin 'steffanc/cscopemaps.vim'
Plugin 'plugin/taglist.vim'
Please help me to resolve this issue.
You should use Plugin instead of Bundle for:
Bundle 'VundleVim/Vundle.vim'
Also, all of your plugins must be added before:
call vundle#end()
See the Quick Start of Vundle for more information.
This .vimrc should work:
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle
" required!
Plugin 'VundleVim/Vundle.vim'
"Plugin 'tpope/vim-fugitive'
"Plugin 'steffanc/cscopemaps.vim'
Plugin 'plugin/taglist.vim'
" All of your Plugins must be added before the following line
call vundle#end()
filetype plugin indent on

Add plugin from vim.org/scripts/script.php to Vundle in vimrc

I am trying to add the BOOKMARKS plugin from http://www.vim.org/scripts/script.php?script_id=3394 to Vundle in vimrc.
This is from my 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
Screen shot of :PluginList:
ctrl-P works, but BOOKMARKS does not.
from 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'
Try this instead (found on http://vimawesome.com) :
Plugin 'Mark-and-Highlight-Full-Lines'
EDIT:
FDinoff is right (as usual) : the plugin moved, so the right line to add is the following:
Plugin 'BOOKMARKS--Mark-and-Highlight-Full-Lines'
Apparently Vundle does not support URI http://www.vim.org/scripts/script.php
So I copied the markHL.vim file to ~/.vim/plugin/ and that worked.

Installing Floobits with VIM

I'm trying to install the VIM Floobits plugin, but I'm having a lot of difficulty.
First off, I installed VIM from the VIM website and then I tried using Vundle to install the VIM Floobits Plugin.
The issue was that when I tried running the:PluginInstallcommand, I got the message "Sorry, the Floobits Vim plugin requires a Vim compiled with +python"
I'm not really sure what that means. So I looked that up and tried to use MinGW to compile vim with +python. That did not work. Next I tried building VIM from the sources, but the configure command does not work on Windows.
Does anyone know how to properly install Floobits for console VIM?
Oh, and here's the lines from my ~/.vimrc that pertain to Vundle:
" VUNDLE
set nocompatible " required
filetype off " required
set rtp+=~/.vim/bundle/Vundle.vim " set the runtime path to include Vundle and initialize
call vundle#begin() " begin vundle
Plugin 'gmarik/Vundle.vim' " let Vundle manage Vundle, required
Plugin 'Floobits/floobits-vim' " add the floobits plugin
call vundle#end() " required; all plugins must be added before this line
You can find proper Vim builds for Windows here:
https://tuxproject.de/projects/vim/
http://solar-blogg.blogspot.ca/p/vim-build.html

My Vim plugins (installed with Vundle) aren’t loading

I'm trying to install the vim-scala and vim-sensible plugins using Vundle. I followed the directions here: https://github.com/gmarik/Vundle.vim
In my ~/.vim directory I have: a folder named 'bundle' with a Vundle.vim directory I downloaded from the tutorial.
In my ~/.vimrc I have:
set nocompatible
filetype off
" 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 'tpope/vim-sensible'
Plugin 'derekwyatt/vim-scala'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
Then I open Vim, type
:PluginInstall
and my plugins are shown to be successfully installed. However, when I open Vim again, nothing changes.
Edit: I should note that I had the same problems using Pathogen, so I don't think this is a bug in Vundle.
Edit: My .vim and .vimrc are in /root/.vim; I am running on Linux.
According to the asker jeffrey, he resolved his problem. His plugins were loading, but he just did not realize it, because the plugins were not changing any obvious, visible Vim settings.

Resources