Mercurial > dotfiles.old
comparison vimrc @ 230:73cc022a8bef
Add hybrid colorscheme
author | zegervdv <zegervdv@me.com> |
---|---|
date | Thu, 22 Jan 2015 21:55:12 +0100 |
parents | fa5fa3251f4a |
children | 49fd5ea356f0 |
comparison
equal
deleted
inserted
replaced
229:fa5fa3251f4a | 230:73cc022a8bef |
---|---|
49 | 49 |
50 " Don't use arrows! | 50 " Don't use arrows! |
51 Plug 'mrmargolis/dogmatic.vim' | 51 Plug 'mrmargolis/dogmatic.vim' |
52 | 52 |
53 " Theme | 53 " Theme |
54 Plug 'whatyouhide/vim-gotham' | 54 Plug 'w0ng/vim-hybrid' |
55 | 55 |
56 " Ruby | 56 " Ruby |
57 Plug 'tpope/vim-rails', { 'for': 'ruby' } | 57 Plug 'tpope/vim-rails', { 'for': 'ruby' } |
58 Plug 'vim-ruby/vim-ruby', { 'for': 'ruby' } | 58 Plug 'vim-ruby/vim-ruby', { 'for': 'ruby' } |
59 Plug 'tpope/vim-bundler', { 'for': 'ruby' } | 59 Plug 'tpope/vim-bundler', { 'for': 'ruby' } |
69 Plug 'osyo-manga/vim-reunions', { 'for': 'c' } | 69 Plug 'osyo-manga/vim-reunions', { 'for': 'c' } |
70 Plug 'osyo-manga/vim-marching', { 'for': 'c' } | 70 Plug 'osyo-manga/vim-marching', { 'for': 'c' } |
71 | 71 |
72 " Coffeescript | 72 " Coffeescript |
73 Plug 'kchmck/vim-coffee-script', { 'for': 'coffeescript' } | 73 Plug 'kchmck/vim-coffee-script', { 'for': 'coffeescript' } |
74 | |
75 " Latex | |
76 Plug 'lervag/vim-latex', { 'for': 'tex' } | |
74 | 77 |
75 " Git | 78 " Git |
76 Plug 'tpope/vim-git' | 79 Plug 'tpope/vim-git' |
77 call plug#end() | 80 call plug#end() |
78 " }}} | 81 " }}} |
104 set tabstop=2 shiftwidth=2 | 107 set tabstop=2 shiftwidth=2 |
105 | 108 |
106 " Theme and style | 109 " Theme and style |
107 set t_Co=256 | 110 set t_Co=256 |
108 set background=dark | 111 set background=dark |
109 color gotham | 112 color hybrid |
110 set guifont=Inconsolata\ for\ Powerline:h12 | |
111 | 113 |
112 set hidden | 114 set hidden |
113 set hlsearch | 115 set hlsearch |
114 set incsearch | 116 set incsearch |
115 set ignorecase | 117 set ignorecase |
406 " }}} | 408 " }}} |
407 " Neosnippet {{{ | 409 " Neosnippet {{{ |
408 let g:neosnippet#snippets_directory='~/.vim/bundle/vim-snippets/snippets,~/.vim/snippets' | 410 let g:neosnippet#snippets_directory='~/.vim/bundle/vim-snippets/snippets,~/.vim/snippets' |
409 let g:neosnippet#enable_snipmate_compatibility=1 | 411 let g:neosnippet#enable_snipmate_compatibility=1 |
410 | 412 |
411 imap <expr><TAB> neosnippet#expandable_or_jumpable() ? "\<Plug>(neosnippet_expand_or_jump)" : (pumvisible() ? "\<C-n>" : "\<TAB>") | 413 imap <expr><TAB> neosnippet#expandable() == 1 ? "\<Plug>(neosnippet_expand_or_jump)" : pumvisible() ? "\<C-n>" : "\<TAB>" |
412 smap <expr><TAB> neosnippet#expandable_or_jumpable() ? "\<Plug>(neosnippet_expand_or_jump)" : "\<TAB>" | 414 imap <expr><C-k> neosnippet#expandable_or_jumpable() == 1 ? "\<Plug>(neosnippet_expand_or_jump)" : pumvisible() ? "\<C-n>" : "\<TAB>" |
413 imap <expr><S-TAB> pumvisible() ? "\<C-p>" : "" | 415 smap <expr><TAB> neosnippet#expandable() == 1 ? "\<Plug>(neosnippet_expand_or_jump)" : pumvisible() ? "\<C-n>" : "\<TAB>" |
414 smap <expr><S-TAB> pumvisible() ? "\<C-p>" : "" | 416 inoremap <expr><C-h> neocomplete#smart_close_popup()."\<C-h>" |
417 inoremap <expr><BS> neocomplete#smart_close_popup()."\<C-h>" | |
418 | |
419 if !exists('g:neocomplete#sources#omni#input_patterns') | |
420 let g:neocomplete#sources#omni#input_patterns = {} | |
421 endif | |
422 let g:neocomplete#sources#omni#input_patterns.tex = | |
423 \ '\v\\\a*(ref|cite)\a*([^]]*\])?\{([^}]*,)*[^}]*' | |
415 " }}} | 424 " }}} |
416 | 425 |
417 " Load local vimrc | 426 " Load local vimrc |
418 if filereadable($HOME . "/.vimrc.local") | 427 if filereadable($HOME . "/.vimrc.local") |
419 source ~/.vimrc.local | 428 source ~/.vimrc.local |