comparison vim/vimrc @ 314:5f9d52300aaa

Vim tweaks: * Terminal colors for Mac. * Syntastic errors window behaviour. * Disable PythonMode stuff I don't want.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 10 Aug 2015 18:31:13 -0700
parents de5090faf408
children 8f49f36b76ef
comparison
equal deleted inserted replaced
313:de5090faf408 314:5f9d52300aaa
194 " Default color scheme. 194 " Default color scheme.
195 if has('gui_running') 195 if has('gui_running')
196 set background=dark 196 set background=dark
197 else 197 else
198 set background=dark 198 set background=dark
199 "let g:solarized_termcolors = 256 199 let g:solarized_termcolors = 256
200 "let g:solarized_termtrans = 1 200 let g:solarized_termtrans = 1
201 endif 201 endif
202 colorscheme solarized 202 colorscheme solarized
203 203
204 " Enable file type detection. 204 " Enable file type detection.
205 filetype indent plugin on 205 filetype indent plugin on
260 260
261 " }}} 261 " }}}
262 262
263 " Syntastic {{{ 263 " Syntastic {{{
264 264
265 let g:syntastic_auto_loc_list = 1 265 let g:syntastic_auto_loc_list = 2
266 let g:syntastic_check_on_open = 1 266 let g:syntastic_check_on_open = 1
267 let g:syntastic_check_on_wq = 0 267 let g:syntastic_check_on_wq = 0
268 268
269 " flake8 includes pyflakes, pep8, and mccabe 269 " flake8 includes pyflakes, pep8, and mccabe
270 " I could maybe replace pyflakes with frosted? 270 " I could maybe replace pyflakes with frosted?
310 " Python-Mode {{{ 310 " Python-Mode {{{
311 311
312 let g:pymode = 1 312 let g:pymode = 1
313 let g:pymode_python = 'python' 313 let g:pymode_python = 'python'
314 314
315 let g:pymode_syntax = 1 315 let g:pymode_syntax = 0
316 let g:pymode_syntax_all = 0 316 let g:pymode_syntax_all = 0
317 let g:pymode_syntax_builtin_objs = 1 317 let g:pymode_syntax_builtin_objs = 1
318 let g:pymode_syntax_print_as_function = 1 318 let g:pymode_syntax_print_as_function = 1
319 let g:pymode_syntax_space_errors = 1 319 let g:pymode_syntax_space_errors = 1
320 320
326 326
327 let g:pymode_doc = 1 327 let g:pymode_doc = 1
328 let g:pymode_doc_bind = 'K' 328 let g:pymode_doc_bind = 'K'
329 329
330 let g:pymode_virtualenv = 0 330 let g:pymode_virtualenv = 0
331
332 let g:pymode_rope = 0
331 333
332 " }}} 334 " }}}
333 335
334 " }}} 336 " }}}
335 337