Plugin 'mileszs/ack.vim'
Plugin 'brandonbloom/csearch.vim'
Plugin 'chazy/cscope_maps'
+Plugin 'vim-scripts/taglist.vim'
call vundle#end() " required
filetype plugin indent on " required
" Regular setting
"------------------------------------------------------------------------------
"
-set backspace=eol,start,indent
-set autoindent " auto indenting
-set number " line numbers
-set nobackup " get rid of anoying ~file
+set backspace=2
+set autoindent
+set nobackup
set noswapfile
set nowb
set encoding=utf-8
set expandtab
-set hid
+set hidden
set hlsearch
set incsearch
set ignorecase
set smartcase
set laststatus=2
set number
-set mouse=a
set ruler
-set shiftwidth=4
+set mouse=a
+set shiftwidth=2
+set softtabstop=2
+set expandtab
set showcmd
-set smartindent
set showmatch
-set tabstop=4
set visualbell t_vb=
set modeline
set modelines=1
set so=7
+set wildmenu
+set showcmd
+set nostartofline
+set confirm
+set cmdheight=2
+set notimeout ttimeout ttimeoutlen=4000
" For color
"let g:solarized_termcolors=256
" For markdown
let g:vim_markdown_folding_disabled = 1
-" For local settings overwrite
+" For taglist
+let Tlist_Compact_Format = 1
+let Tlist_GainFocus_On_ToggleOpen = 1
+let Tlist_Close_On_Select = 1
+nnoremap <C-l> :TlistToggle<CR>
+
+" For local/private settings
let $LOCALFILE=expand("~/.vimrc_local")
if filereadable($LOCALFILE)
source $LOCALFILE