Kerneldump.org

This is my view, and my view only :-)


Published November 9th, 2007

My .vimrc, somebody tips?

” Set background dark
set background=dark” Tweak the search options
” Toggle search hilight with
map :let &hlsearch=!&hlsearch
” Set hilight colour to LightBlue
hi search ctermbg=LightMagenta ctermfg=White

” Set no wrapping
set nowrap

” Enable syntax hilighting
syntax on

” Set tabs
set expandtab ” Use spaces for tabs
set tabstop=4 ” Set tab width to 4 spaces
set shiftwidth=4 ” Set 4 spaces used for indentation
set smarttab ” When a in front of a line. removes shiftwidth as number of spaces

Published November 7th, 2007

My PS1

export ‘PS1=\n\[\033[0;34m\]-\[\033[0;32m\][ \[\033[1;37m\]\t@\d \[\033[0;32m\]]\[\033[0;34m\]-\[\033[0;32m\][ \[\033[1;37m\]\w \[\033[0;32m\]]\[\033[0;34m\]-\[\033[0;32m\][ \[\033[1;37m\]\h \[\033[0;32m\]]\[\033[0;34m\]-\n\[\033[1;37m\][\#] \u@\W# \[\033[0m\]‘