-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
107 lines (80 loc) · 1.92 KB
/
.vimrc
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle
call vundle#rc()
" General
Plugin 'gmarik/vundle'
Plugin 'tpope/vim-sensible'
Plugin 'scrooloose/nerdtree'
Plugin 'scrooloose/nerdcommenter'
Plugin 'scrooloose/syntastic'
Plugin 'sjbach/lusty'
Plugin 'xolox/vim-misc'
Plugin 'xolox/vim-session'
Plugin 'bling/vim-airline'
Plugin 'vimoutliner/vimoutliner'
" Programming
Plugin 'Valloric/YouCompleteMe'
Plugin 'derekwyatt/vim-scala'
" Markdown
Plugin 'godlygeek/tabular'
Plugin 'plasticboy/vim-markdown'
" Git
Plugin 'tpope/vim-fugitive'
Plugin 'airblade/vim-gitgutter'
" Themes
Plugin 'Lucius'
Plugin 'altercation/vim-colors-solarized'
Plugin 'whatyouhide/vim-gotham'
" OSX specific
if has("macunix")
Plugin 'rizzatti/funcoo.vim'
Plugin 'rizzatti/dash.vim'
endif
filetype plugin indent on
set number
set numberwidth=6
set hlsearch
set incsearch
set ignorecase
set laststatus=2
set hidden
syntax enable
set t_Co=256
"set background=light
"colorscheme solarized
colorscheme gotham
set guifont=Anonymous\ Pro\ 12
set guioptions=acig
set clipboard=unnamed
autocmd vimenter * if !argc() | NERDTree | endif
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
nmap <F9> :NERDTreeToggle<CR>
set expandtab
set smartindent
set shiftwidth=4
set tabstop=4
set softtabstop=4
set nobackup
set nowb
set backspace=2
set foldmethod=indent
set nowrap
let mapleader=","
nmap <Leader>be :LustyBufferExplorer<CR>
nmap <Leader>bg :LustyBufferGrep<CR>
nmap <Leader>l :set list!<CR>
set listchars=tab:▸\ ,eol:¬
nmap <Leader>a ggVG
autocmd BufReadPost * if line("'\"") <= line("$") | exe "normal! g`\"" | endif
let g:session_autosave = 'no'
let g:EclimCompletionMethod = 'omnifunc'
set autoread
set noerrorbells
set novisualbell
set t_vb=
set tm=500
set noswapfile
let g:airline#extensions#branch#enabled = 1
let g:airline#extensions#syntastic#enabled = 1
let g:airline_theme='gotham'