From 4ec92bf1a1dd23cb3d46da5a65d6fa00283532b7 Mon Sep 17 00:00:00 2001 From: Kevin Centeno Date: Wed, 4 Sep 2013 18:05:00 +0200 Subject: [PATCH] updated README.md: included instructions on enabling 256 color terminal in Ubuntu/Debian --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/README.md b/README.md index bc0fba7b..82a3bdb8 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,32 @@ The awesome version includes a lot of great plugins, configurations and color sc Use [msysgit](http://msysgit.github.com/) to checkout the repository and run the installation instructions above. No special instructions needed ;-) +## How to enable 256 color mode in Ubuntu/Debian terminal? + +By default, Ubuntu/Debian terminals are set to 8 to 16 colors. This makes vim ugly! To see what color mode you're in, type: + + tput colors + +If you get 256, you're good to go. Otherwise, type the following: + + sudo apt-get install ncurses-term + vim ~/.bashrc + +At the bottom of the file, put: + + export TERM=xterm-256color + +Save and close the file. Then force Bash to reload the config file: + + source ~/.bashrc + +Now check if everything is all good: + + tput colors + +SOURCE: @josh_earl [tumblr](http://whiletruecode.tumblr.com/post/13358288098/enabling-256-color-mode-in-ubuntus-bash-terminal) + + ## How to update to latest version? Simply just do a git rebase!