La Boina Roja

The struggles off a future RHCE….

How to change Vim’s default color scheme on Fedora

Leave a comment

That should be technically speaking relatively “easy” (notice the quotation marks  photo emo.gif?). All you have to do is open en Vim en type:

:colo torte

(torte is one of Vim’s default colorschemes, meaning this scheme is preinstalled with Vim. You can find a listing of default colorschemes here.)

But then this shit happens you get,  the “E185: Cannot find color scheme ‘torte’ photo piangry.gif

colotorte

Now what???? I am ashamed to say that figuring this problem out took me DAYS. Yes people you are reading it correctly it took me fucking DAYS  photo bonk.gif to find out what was going on.

Here is the thing, apparently Fedora comes with a minimal install of Vim, which is very close to Vi. If you want to mess around with color schemes you have to install vim-enchanced. And how does one install vim-enhanced? By typing:

su -c “dnf install -y vim-enhanced”

vimenhancedinstall

When it asks for password, it is asking for your root password.

After installation is completed, open Vim and then type the following command:

:colo torte

The colorscheme will be set to torte!

(Remember, you can always do the cliccie for a larger piccie  photo puh2.gif Disclaimer: For the sake of this tutorial I used Konsole normally I am a tty person only these days.)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s