diff options
Diffstat (limited to 'vimrc-full')
| -rw-r--r-- | vimrc-full | 20 |
1 files changed, 10 insertions, 10 deletions
| @@ -43,7 +43,7 @@ nnoremap <F12> :ToggleBufExplorer<CR> | |||
| 43 | Plug 'vim-airline/vim-airline' | " beautification of the mode line | 43 | Plug 'vim-airline/vim-airline' | " beautification of the mode line |
| 44 | set laststatus=2 | " required by AirLine, without status line does not appear until a window split | 44 | set laststatus=2 | " required by AirLine, without status line does not appear until a window split |
| 45 | set background=light | 45 | set background=light |
| 46 | let g:airline_extensions = ['tabline', 'branch', 'syntastic', 'tagbar', 'whitespace', 'ycm'] | 46 | let g:airline_extensions = ['tabline', 'branch', 'syntastic', 'tagbar', 'whitespace'] |
| 47 | let b:airline_whitespace_checks = ['indent', 'trailing', 'long', 'mixed-indent-file'] | 47 | let b:airline_whitespace_checks = ['indent', 'trailing', 'long', 'mixed-indent-file'] |
| 48 | " let g:airline_section_c = "" | " was: %F | 48 | " let g:airline_section_c = "" | " was: %F |
| 49 | let g:airline#extensions#tagbar#flags = 'f' | " even though the airline extension is off this controls :h tagbar-extend | 49 | let g:airline#extensions#tagbar#flags = 'f' | " even though the airline extension is off this controls :h tagbar-extend |
| @@ -65,7 +65,7 @@ let g:airline_powerline_fonts = 1 | | |||
| 65 | let g:airline_skip_empty_sections = 1 | | 65 | let g:airline_skip_empty_sections = 1 | |
| 66 | " AIRLINE_Theme: | 66 | " AIRLINE_Theme: |
| 67 | Plug 'vim-airline/vim-airline-themes' | " airline themes to match any light and dark terminal using :AirlineTheme | 67 | Plug 'vim-airline/vim-airline-themes' | " airline themes to match any light and dark terminal using :AirlineTheme |
| 68 | let base16colorspace = 256 | 68 | let base16colorspace=256 |
| 69 | let g:airline_theme='base16' | " specifies which colorscheme should airline uses | 69 | let g:airline_theme='base16' | " specifies which colorscheme should airline uses |
| 70 | " let g:solarized_base16 = 1 | 70 | " let g:solarized_base16 = 1 |
| 71 | " let g:airline_base16_improved_contrast = 1 | 71 | " let g:airline_base16_improved_contrast = 1 |
| @@ -94,8 +94,6 @@ nnoremap <expr> | |||
| 94 | " autocmd bufenter * | 94 | " autocmd bufenter * |
| 95 | " \ if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif | 95 | " \ if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif |
| 96 | " | 96 | " |
| 97 | " exec current line as a command, insert output of command (from: https://youtu.be/MquaityA1SM?t=35m45s) | ||
| 98 | nnoremap Q !!$SHELL<CR> | ||
| 99 | 97 | ||
| 100 | 98 | ||
| 101 | " Additional: ========================================. | 99 | " Additional: ========================================. |
| @@ -215,13 +213,12 @@ call plug#end() | " all plugins are gettin | |||
| 215 | 213 | ||
| 216 | 214 | ||
| 217 | " COLORSCHEME: | 215 | " COLORSCHEME: |
| 218 | |||
| 219 | " uses the default terminal background color as background (allows transparency) | 216 | " uses the default terminal background color as background (allows transparency) |
| 220 | |||
| 221 | |||
| 222 | function! ExtendColorTheme() | 217 | function! ExtendColorTheme() |
| 223 | " highlight! Normal ctermbg=NONE ctermfg=black cterm=inverse | 218 | set background=light |
| 224 | highlight! Normal ctermbg=NONE | 219 | let g:colors_name="" |
| 220 | " highlight Normal ctermbg=NONE ctermfg=black | ||
| 221 | |||
| 225 | highlight! CursorLineNr cterm=inverse | " ctermbg=black ctermfg=NONE | 222 | highlight! CursorLineNr cterm=inverse | " ctermbg=black ctermfg=NONE |
| 226 | highlight! Pmenu ctermbg=LightYellow ctermfg=blue guibg=LightYellow guifg=blue cterm=italic | 223 | highlight! Pmenu ctermbg=LightYellow ctermfg=blue guibg=LightYellow guifg=blue cterm=italic |
| 227 | highlight! PmenuSel ctermbg=LightYellow ctermfg=blue guibg=LightYellow guifg=blue gui=inverse cterm=inverse | 224 | highlight! PmenuSel ctermbg=LightYellow ctermfg=blue guibg=LightYellow guifg=blue gui=inverse cterm=inverse |
| @@ -524,7 +521,7 @@ if has("autocmd") | |||
| 524 | 521 | ||
| 525 | 522 | ||
| 526 | augroup extra_whitespace " { | 523 | augroup extra_whitespace " { |
| 527 | highlight ExtraWhitespace ctermbg=red guibg=red | 524 | highlight ExtraWhitespace ctermbg=red ctermfg=white guibg=red |
| 528 | autocmd BufEnter * syn match ExtraWhitespace /\s\+$/ | 525 | autocmd BufEnter * syn match ExtraWhitespace /\s\+$/ |
| 529 | augroup END "} | 526 | augroup END "} |
| 530 | 527 | ||
| @@ -537,6 +534,9 @@ if has("autocmd") | |||
| 537 | " put the current files name after the cursor... | 534 | " put the current files name after the cursor... |
| 538 | let @f = ":exe ':normal a'.expand('%:t')" | 535 | let @f = ":exe ':normal a'.expand('%:t')" |
| 539 | 536 | ||
| 537 | " exec current line as a command, insert output of command (from: https://youtu.be/MquaityA1SM?t=35m45s) | ||
| 538 | nnoremap Q !!$SHELL<CR> | ||
| 539 | |||
| 540 | " autocmd BufEnter * @f | 540 | " autocmd BufEnter * @f |
| 541 | augroup END | 541 | augroup END |
| 542 | 542 | ||
