2010/09/23

.bash_profile & .vimrc setting for my familiar env.

.bash_profile

PS1='\w \$ '

HISTFILE=$HOME/.history
export LD_LIBRARY_PATH="$HOME/lib"
export MANPATH="$HOME/share/man:/usr/share/man"
export PKG_CONFIG_PATH="$HOME/lib/pkgconfig"
export EDITOR="vim"
export LS_COLORS="di=01;34:*.c=01;31:*.h=01;35"

. $HOME/.alias

umask 077

.vimrc

set tabstop=4
set shiftwidth=4
set background=dark
set ignorecase
set hlsearch
set nowrap

set expandtab

set path=.,include,/usr/include

syntax on

set cscopetag
set cscopetagorder=1
set title
set titlestring="%t"

nmap s :cs find s =expand("")
nmap c :cs find c =expand("")

au BufNewFile,BufRead *[mM]akefile,*.mk,*.mak,*.dsp set noexpandtab

No comments: