I installed colorscheme "jellybeans" for Vim. Why does the colors look differently when I run Vim with and without sudo?
Example on the screen below - the left one is without sudo, the right is with sudo. The one with sudo is working properly - how can I make Vim to have the same colors without using sudo?
Linux Mint 17.2 (x64) gnome-terminal 3.6.2 bash 4.3.11 tmux 1.8 Vim 7.4
The value of my
$TERM variable is:
And the result is the same with
sudo $SHELL -c 'echo $TERM'
Here is my vimrc file.
EDIT - SOLUTION:
Colorscheme file was lacking read permission for "others". Fixed with:
sudo chmod +r /usr/share/vim/vim74/colors/jellybeans.vim