summaryrefslogtreecommitdiffstats
path: root/.vimrc
blob: 2e436249d14903babf99a53a98275b6d382b8a0b (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
45
46
47
48
49
"----------------------------------------------------
" File:         .vimrc 
" Version:      0.1.0
" Author:       Florian "Bluewind" Pritz <f-p@gmx.at>
"----------------------------------------------------
set nocompatible
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

"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