Console / shell is a black and white world in (K)Ubuntu, and so lets add some color to it. Let’s start with the infamous vim (installable with the vim-full package), by adding these lines to ~/.vimrc (also to enable line numbering, and disable auto indent)
set noautoindent set number :syntax enable
I also miss my greenish bash prompt in Gentoo, and so I add these to the end of my ~/.bashrc
PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '
Ok, enough with the eye candy, time to get back to work.
2 Comments on this post
Leave a CommentI do more that this, I like evening scheme, you can try this
colorscheme eveningand also, vi may try to remember your last point of a file,
:au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal g'\"" | endifAnd tons of keybindings
Comment left on 11.15.2007 by mysurface
Thanks for the tips. Among the other feature of vim that I like is autocomplete, by pressing Ctrl+p while in insert mode. Use it with some dictionary files to add some spice to it.
Comment left on 11.16.2007 by shakir