Ubuntu Enable Colors in Vi Editor
Enable Colors in Vi Editor in Ubuntu
Ubuntu breezy comes configured so that vi editor doesn't display colors.
To enable colors, add the following to the /etc/vim/vimrc file:
let color = "true"
if color == "true"
so $/syntax/syntax.vim
else
syntax off
set t_Co=0
endif
Actually,if you use vim instead of vi, colors are alread enabled. Just create an alias in ~/bash.bashrc as follows:
alias vi='vim'
Previous page: Trustix NTP Hang Fix
Next page: Ubuntu Single User Mode Without Login
