Compare commits

...

3 Commits

2 changed files with 15 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
set autoindent
set cindent
" show existing tab with 2 spaces width
set tabstop=2
" when indenting with '>', use 2 spaces width

View File

@@ -25,9 +25,11 @@ call plug#begin('~/.vim/bundle') "Начать искать плагины в э
Plug 'airblade/vim-gitgutter'
Plug 'jreybert/vimagit'
Plug 'preservim/nerdtree'
Plug 'towolf/vim-helm'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
Plug 'towolf/vim-helm'
Plug 'pearofducks/ansible-vim'
call plug#end() "Перестать это делать
"
@@ -110,12 +112,21 @@ nnoremap <silent> <Leader>f :Files<CR>
nnoremap <silent> <Leader>gr :Rg<CR>
nnoremap <silent> <Leader>/ :BLines<CR>
nnoremap <silent> <Leader>' :Marks<CR>
nnoremap <silent> <Leader>g :Commits<CR>
"nnoremap <silent> <Leader>g :Commits<CR>
nnoremap <silent> <Leader>H :Helptags<CR>
nnoremap <silent> <Leader>hh :History<CR>
nnoremap <silent> <Leader>h: :History:<CR>
nnoremap <silent> <Leader>h/ :History/<CR>
"
" Ansible plugin config
"
let g:ansible_unindent_after_newline = 1
let g:ansible_attribute_highlight = "ob"
let g:ansible_extra_keywords_highlight = 1
let g:ansible_name_highlight = 'b'
let g:ansible_yamlKeyName = 'yamlKey'
" YAML files config
autocmd FileType yaml,yml setlocal ts=2 sts=2 sw=2 expandtab
let g:indentLine_char = '⦙'