Wednesday, December 21, 2011

Linux: set ls and vim colors

echo "colorscheme " >> ~/.vimrc

to find the color schemes -
Color schemes scripts that live in the colors/ directory of the Vim runtime hierarchy (:help runtimepath)

Alternative: press the : button when in vim and type colorscheme
Alternative to the Alternative: echo "set background=dark" >> ~/.vimrc

http://www.indelible.org/ink/vim-colorschemes/



For ls :
dircolors -p > ~/.dir_colors



Done on RHEL

No comments:

Post a Comment