-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Home
-
Q: Why am I asked for username/password?
A: This is an occurrence of an invalid repository name being used with
Bundle
, which then attempts to clone a nonexistent repo:git clone http://github.com/gmarik/non_existin_repo Cloning into non_existin_repo... Username: Password: fatal: Authentication failed
-
Q: My configuration is bundle-dependent, so installing plugins for the first time in a fresh configuration produces errors. How can I fix that?
-
Q: How do I disable indentation set by plugins?
A: Use
filetype plugin on
instead offiletype plugin indent on
. -
Q: With a default shell other than sh or bash (e.g., fish), errors result when running
BundleInstall!
. Is there a way to fix this?A: Vim will throw an error when running
BundleInstall!
if the default shell is not POSIX-compliant. Even if you manually switch to sh or bash from a different shell, the errors will continue if vim is not explicitly told to use sh or bash. This can be rectified by either: (1) addingset shell=bash
to your.vimrc
, or (2) setting theSHELL
environment variable to sh or bash before runningBundleInstall!
. If using the latter technique with the fish shell, initial Vundle installation as well as updates can be performed by creating the following function at~/.config/fish/functions/updatevim.fish
and then runningupdatevim
to install/update Vundle and its bundles:function updatevim set SHELL (which sh) vim +BundleInstall! +BundleClean +qall set SHELL (which fish) end
-
Q: I am getting the following error:
Cloning into /root/zuo/.vim/bundle/The-NERD-tree... error: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://github.com/vim-scripts/The-NERD-tree.git/info/refs
A: Add
let $GIT_SSL_NO_VERIFY = 'true'
to your.vimrc
. -
Q: It seems like Vundle cannot find the color scheme I just installed.
A: Make sure
colorscheme my_awesome_colorscheme
is called after theBundle 'my_awesome_colorscheme'
command. See #119 for details.
-
Q: Why does vim exit with an error?
A: Using
filetype off
with stock OS Xvim
(located at/usr/bin/vim
) causes vim to exit with a non-zero error code in completely valid cases. The workaround is to enable filetype before disabling it, like this:filetype on filetype off "... your configuration goes here