summaryrefslogtreecommitdiffstats
path: root/.vimrc
blob: cccbde2e08d0415ca6f0ad2b5402ea2dfa1fa8a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
set t_Co=256
set nobackup
set expandtab
set tabstop=2 
set shiftwidth=2
set softtabstop=2
set ruler                " show me where the cursor is
set rulerformat=%l/%L(%p%%),%c " a better ruler
set showmatch            " show matching brackets 
set cindent
set nocompatible

"inoremap <tab> <c-n>

let python_highlight_all = 1

autocmd FileType make setlocal noexpandtab

"colorscheme gardener
colorscheme desert256
"colorscheme candycode

let g:miniBufExplMapWindowNavVim = 1
let g:miniBufExplMapWindowNavArrows = 1
let g:miniBufExplMapCTabSwitchBufs = 1
let g:miniBufExplModSelTarget = 1 

"set tags+=$HOME/.vim/tags/python.ctags

map <F12> <ESC>ggg?G``" apply rot13 for people snooping over shoulder, good fun

if !has("gui_running")
  if &term == "screen"
    set <C-Right>=Oc
    set <C-Left>=Od
    imap <C-Right> <ESC>:bn<RETURN>
    imap <C-Left> <ESC>:bp<RETURN>
  endif
endif

if has("gui_running")
  set guioptions-=m
  set guioptions-=T
endif