vim airline plugin using common fonts now, gitgutter optimized ctermbg and updatetime

This commit is contained in:
2022-08-08 14:17:21 +03:00
parent 87e09dc9e3
commit 84df0c65cb

View File

@@ -25,17 +25,22 @@ call plug#begin('~/.vim/bundle') "Начать искать плагины в э
Plug 'airblade/vim-gitgutter' Plug 'airblade/vim-gitgutter'
call plug#end() "Перестать это делать call plug#end() "Перестать это делать
"
" Vim-Airline plugin config
"
" To enable powerfonts you first need to install it system-wide: https://github.com/ryanoasis/nerd-fonts#font-installation " To enable powerfonts you first need to install it system-wide: https://github.com/ryanoasis/nerd-fonts#font-installation
" Then you need to enable Non-ASCII font displaying on your terminal settings " Then you need to enable Non-ASCII font displaying on your terminal settings
let g:airline_powerline_fonts = 1 "Включить поддержку Powerline шрифтов let g:airline_powerline_fonts = 0 " Disable powerline fonts
let g:airline#extensions#keymap#enabled = 0 "Не показывать текущий маппинг let g:airline#extensions#keymap#enabled = 0 " Do not show keyboard mapping
let g:airline_section_z = "\ue0a1:%l/%L Col:%c" "Кастомная графа положения курсора let g:airline_section_z = ":%l/%L:%c" " Custom minimalistic current position section
let g:Powerline_symbols='unicode' "Поддержка unicode let g:Powerline_symbols='unicode' " Unicode support
"
" Gitgutter plugin config
"
let g:gitgutter_override_sign_column_highlight = 1
highlight SignColumn ctermbg=none highlight SignColumn ctermbg=none
highlight GitGutterAdd ctermbg=none set updatetime=100
highlight GitGutterChange ctermbg=none
highlight GitGutterDelete ctermbg=none
" YAML files config " YAML files config
autocmd FileType yaml,yml setlocal ts=2 sts=2 sw=2 expandtab autocmd FileType yaml,yml setlocal ts=2 sts=2 sw=2 expandtab