-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
75 lines (64 loc) · 1.79 KB
/
vimrc
File metadata and controls
75 lines (64 loc) · 1.79 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
set nocompatible
set laststatus=2
set encoding=utf-8
set t_Co=256
filetype off
" git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
" vim +BundleInstall +qall
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'gmarik/vundle'
Bundle 'nvie/vim-flake8'
Bundle 'tpope/vim-fugitive'
Bundle 'Lokaltog/vim-powerline'
filetype plugin indent on
setlocal comments-=:#
setlocal comments+=f:#
set background=dark
syntax on
"set mouse=a
set bg=dark tabstop=4 softtabstop=4 shiftwidth=4 expandtab
set hlsearch
set textwidth=79
set colorcolumn=80
set smartindent
set copyindent
set incsearch
set wildignore=*.swp,*.bak,*.pyc,*.class
set autoindent
set noswapfile
set fileencodings=utf-8,ucs-bom,default,latin1
"set cursorline
"set cursorcolumn
set showcmd
set hlsearch
set incsearch
set backspace=indent,eol,start
set ruler
set number
set scrolloff=5 "provide some context when scrolling
highlight SpecialKey ctermbg=yellow ctermfg=black guibg=red guifg=black
highlight ColorColumn ctermbg=DarkGrey
highlight LineNr ctermfg=Grey ctermbg=DarkGrey
set list
set listchars=trail:.,tab:>-,nbsp:%,extends:>,precedes:<
"filetype plugin indent on
autocmd FileType python set omnifunc=pythoncomplete#Complete
let g:miniBufExplMapWindowNavVim = 1
let g:miniBufExplMapWindowNavArrows = 1
let g:miniBufExplMapCTabSwitchBufs = 1
let g:miniBufExplModSelTarget = 1
au BufRead /tmp/mutt-* set tw=80
" Mail colours
"hi mailHeaderKey links to Type
"hi mailSubject links to String
hi mailHeader ctermfg=brown
"hi mailEmail links to Special
hi mailSignature ctermfg=darkblue
hi mailQuoted1 ctermfg=darkgreen
hi mailQuoted2 ctermfg=darkcyan
hi mailQuoted3 ctermfg=darkgreen
hi mailQuoted4 ctermfg=darkcyan
hi mailQuoted5 ctermfg=darkgreen
hi mailQuoted6 ctermfg=darkcyan
"nnoremap <F5> :GundoToggle<CR>