" bnewbold's .vimrc " circa 2006-2010 " enable plugins :filetype plugin on if has('syntax') && (&t_Co > 2) syntax on endif set history=50 set wildmode=list:longest,full set showmode set showcmd set shiftwidth=4 set tabstop=4 set shiftround set expandtab set autoindent set hidden " allows modified buffers to be hidden " vtreeexplore let treeExplVertical=1 let treeExplWinSize=30 let treeExplDirSort=1 let treeExplNoList=0 "nmap :VTreeExplore nmap :Explore "let g:buftabs_in_statusline=1 "let g:buftabs_only_basename=1 "let g:buftabs_active_highlight_group="Visual" " a more readbly vertical split hi VertSplit cterm=none ctermfg=LightGray term=none gui=none " firefox style ctrl-tabbing with buffers; doesn't work in xterm noremap :bprev noremap :bnext " needed for in xterm with remaping... ugh. nmap [27;6;9~ :bprev nmap [27;5;9~ :bnext map [27;6;9~ :bprev map [27;5;9~ :bnext " and for tabbing around nmap :tabN nmap :tabn map :tabN map :tabn " and between windows noremap h noremap j noremap k noremap l " Searching stuff set incsearch set ignorecase set smartcase " this allows the arrow keys to do screen lines instead of file lines " (srapped) noremap gk noremap gj autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class " for Project Fortress au BufNewFile,BufRead *.fsi,*.fss set ft=fortress " for previewing reStructured text (.rst) in firefox :command! Rst :!rst2html.py "%" > /tmp/rstprev.html && firefox file:///tmp/rstprev.html :nnoremap :Rst