~ buttons /.vimrc

nmap <silent> <F3> <Plug>ToggleProject
nmap <silent> <F4> :TlistToggle<CR>
set nocompatible "Turn off vi compatibility mode 
filetype on
filetype plugin on 
"if &term =~ "^screen" 
" set term=rxvt-unicode 
" "endif 

set comments=sl:/*,mb:\ *,elx:\ */ 
set encoding=utf-8 
set termencoding=utf-8 
inoremap <Nul> <C-x><C-o> 
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" "" Interface """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 
if has('syntax') && (&t_Co > 2) 
	syntax on 
endif 
set ruler " Always show current positions along the bottom 
set number " Show line numbers 

"status line settings 
set laststatus=2 
set statusline=%-3.3n\ %f%(\ %r%)%(\ %#WarningMsg#%m%0*%)%=(%l,\ %c)\ %P\ [%{&encoding}:%{&fileformat}]%(\ %w%)\ %y\ 
set shortmess+=axr 
hi StatusLine term=inverse cterm=NONE ctermfg=white ctermbg=black 
hi StatusLineNC term=none cterm=NONE ctermfg=darkgray ctermbg=black 
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Visual Cues """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 
set showmatch " Show matching brackets 
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Text Fromatting/Layout """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 
set tabstop=4 
set shiftwidth=4 
set softtabstop=4 
set formatoptions+=t,c,r,o,n 
au FileType c,cpp,h set cindent " C-style indenting 
au FileType c set formatoptions+=ro omnifunc=ccomplete#Complete 
au FileType make set noexpandtab shiftwidth=8 " We NEED tabs in make files 
au FileType php set et sw=4 sts=4 ts=4 " PEAR standards 
au FileType html,xhtml set tw=0 
au FileType python set et sw=4 sts=4 ts=4 tw=0 ai " Django standards 
au FileType haskell set et sw=4 sts=4 ts=4 tw=0 ai " Not stupid standards
au FileType tex SPCheck 
au Syntax {cpp,c,idl} runtime syntax/doxygen.vim 
au FileType c,cpp map <F6> :make<CR> 
au BufRead,BufNewFile PKGBUILD set ts=2 sts=2 et sw=2 
au BufNewFile,BufRead .Xdefaults* set filetype=xdefaults 
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Folding """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 
if has("folding") 
	set foldenable 
	set foldmethod=syntax 
	set foldlevel=100 
	set foldopen-=search 
	set foldopen-=undo 
endif 

hi Folded term=standout ctermfg=3 ctermbg=0 
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Search & Replace """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 
set nohlsearch " make searches case-insensitive, unless they contain upper-case letters: 
set ignorecase 
set smartcase " show the 'best match so far' as search strings are typed: 
set incsearch
set nocursorline
set nowrap
set tw=0
set guioptions=
:let g:toggleMenu = 0
map <silent> <S-F1> :if g:toggleMenu == 1<CR>:set guioptions-=m<CR>:set lines+=1<CR>:let g:toggleMenu = 0<CR>:else<CR>:set guioptions+=m<CR>:let g:toggleMenu = 1<CR>:endif<CR> 
let colors_name = "mine"
" Popup Menu 
hi Pmenu term=NONE cterm=NONE ctermfg=white ctermbg=black
hi PmenuSel term=bold cterm=bold ctermfg=blue ctermbg=white
hi PmenuSbar term=NONE cterm=NONE ctermfg=NONE ctermbg=white
hi PmenuThumb term=NONE cterm=NONE ctermfg=NONE ctermbg=blue
hi StatusLineNC term=bold cterm=NONE ctermfg=2 ctermbg=0
hi StatusLine term=bold,inverse cterm=NONE ctermfg=3 ctermbg=0
hi Comment cterm=NONE ctermfg=4
hi LineNr ctermfg=8
"hi Statement term=bold ctermfg=1
hi Folded term=standout ctermfg=3 ctermbg=0