-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
191 lines (166 loc) · 4.96 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
"NeoBundle Scripts-----------------------------
if has('vim_starting')
set nocompatible " Be iMproved
" Required:
set runtimepath+=/home/$USER/.vim/bundle/neobundle.vim/
endif
" Required:
call neobundle#begin(expand('/home/$USER/.vim/bundle'))
" Let NeoBundle manage NeoBundle
" Required:
NeoBundleFetch 'Shougo/neobundle.vim'
" My Bundles here: NeoBundle 'Raimondi/delimitMate'
NeoBundle 'Rip-Rip/clang_complete'
NeoBundle 'Rykka/riv.vim'
NeoBundle 'Shougo/neosnippet-snippets'
NeoBundle 'Shougo/neosnippet.vim'
NeoBundle 'Yggdroot/indentLine'
NeoBundle 'airblade/vim-gitgutter'
NeoBundle 'godlygeek/tabular'
NeoBundle 'bling/vim-airline'
NeoBundle 'klen/python-mode'
NeoBundle 'kien/rainbow_parentheses.vim'
NeoBundle 'scrooloose/syntastic'
NeoBundle 'szw/vim-ctrlspace'
"NeoBundle 'terryma/vim-multiple-cursors'
NeoBundle 'tpope/vim-fugitive'
NeoBundle 'tpope/vim-sensible'
NeoBundle 'tpope/vim-surround'
NeoBundle 'vim-scripts/a.vim'
NeoBundle 'vim-scripts/ack.vim'
NeoBundle 'vim-scripts/gtk-vim-syntax'
NeoBundle 'jistr/vim-nerdtree-tabs'
"NeoBundle 'sudar/vim-arduino-syntax'
"NeoBundle 'Rykka/clickable.vim'
NeoBundle 'vim-pandoc/vim-pandoc'
NeoBundle 'vim-pandoc/vim-pandoc-syntax'
NeoBundle 'vim-scripts/loremipsum'
"NeoBundle 'lukerandall/haskellmode-vim'
"NeoBundle 'LaTeX-Box-Team/LaTeX-Box'
NeoBundle 'elzr/vim-json'
"NeoBundle 'mattn/emmet-vim'
"NeoBundle 'cohama/lexima.vim'
"NeoBundle 'Glench/Vim-Jinja2-Syntax'
NeoBundle 'reedes/vim-thematic'
"NeoBundle 'kchmck/vim-coffee-script'
NeoBundle 'w0ng/vim-hybrid'
NeoBundle 'fatih/vim-go'
" --- Colors
"NeoBundle 'flazz/vim-colorschemes'
NeoBundle 'reedes/vim-colors-pencil'
NeoBundle 'altercation/vim-colors-solarized'
NeoBundle 'ywjno/vim-tomorrow-theme'
NeoBundle 'chriskempson/base16-vim'
" Required:
call neobundle#end()
" Required:
filetype plugin indent on
" If there are uninstalled bundles found on startup,
" this will conveniently prompt you to install them.
NeoBundleCheck
"End NeoBundle Scripts-------------------------
"Begin Custom User Settings -------------------
set t_Co=256
"set guifont=PragmataPro\ for\ Powerline\ 12
"set background=dark
"if has("gui_running")
" colorscheme hybrid
"else
" colorscheme hybrid
"endif
set guioptions-=T
set guioptions-=r
set guioptions-=l
set guioptions-=b
set guioptions-=L
set guioptions-=m
set guioptions-=e
" Forced sensitive settings
set number
set showbreak=↪
"tabs an spaces
set tabstop=4
set shiftwidth=4
set expandtab
set softtabstop=4
"window management
au FocusLost * :silent! wall "save if focus lost
au VimResized * :wincmd = "also resize split windows on resize
"easy split window navigation
nmap <silent> <C-Up> :wincmd k<CR>
nmap <silent> <C-Down> :wincmd j<CR>
nmap <silent> <C-Left> :wincmd h<CR>
nmap <silent> <C-Right> :wincmd l<CR>
set wmh=0 "Make Windows resizeable to statusline only
"misc
set wrap
set textwidth=80
set colorcolumn=+1
set hidden
set ttyfast
set lazyredraw
set colorcolumn=0
"undo stuff
set undofile
set undoreload=1000
set undodir=~/.vim/tmp/undo/
set noswapfile
"searching
set ignorecase
set smartcase
set incsearch
set showmatch
set hlsearch
set laststatus=2
"security related
set cm=blowfish
" Disable message
set shortmess+=I
" Completion options
set completeopt=menu
"CtrlSpace
hi CtrlSpaceSelected term=reverse ctermfg=187 ctermbg=23 cterm=bold
hi CtrlSpaceNormal term=NONE ctermfg=244 ctermbg=232 cterm=NONE
hi CtrlSpaceSearch ctermfg=220 ctermbg=NONE cterm=bold
hi CtrlSpaceStatus ctermfg=230 ctermbg=234 cterm=NONE
let g:ctrlspace_use_tabline=1
let g:pandoc#formatting#mode="h"
let g:pandoc#formatting#textwidth=80
let g:pandoc#syntax#conceal#use=0
"Thematic plugin
let g:thematic#theme_name = 'base16'
let g:thematic#defaults = { 'background': 'dark',
\ 'airline-theme': 'tomorrow',
\ 'laststatus': 2,
\ }
let g:thematic#themes = {
\ 'base16' : { 'colorscheme': 'base16-ashes',
\ 'typeface': 'PragmataPro for Powerline',
\ 'font-size': 14,
\ 'sign-column-color-fix': 1,
\ 'fullscreen-background-color-fix': 1,
\ },
\ 'iawriter' : { 'colorscheme': 'pencil',
\ 'background': 'light',
\ 'columns': 75,
\ 'font-size': 20,
\ 'fullscreen': 1,
\ 'laststatus': 0,
\ 'linespace': 8,
\ 'typeface': 'Cousine',
\ },
\ 'pencil_dark' :{ 'colorscheme': 'pencil',
\ 'typeface': 'PragmataPro for Powerline',
\ 'font-size': 12,
\ 'transparency': 10,
\ },
\ 'pencil_lite' :{ 'colorscheme': 'pencil',
\ 'background': 'light',
\ 'airline-theme': 'light',
\ 'laststatus': 0,
\ 'ruler': 1,
\ 'typeface': 'PragmataPro for Powerline',
\ 'transparency': 0,
\ 'font-size': 12,
\ },
\ }