This commit is contained in:
pim-wtf
2022-02-17 10:30:31 +01:00
parent 12a52d5b4c
commit 75d5babfc3
7 changed files with 210 additions and 180 deletions

View File

@ -17,15 +17,21 @@ Plug 'rust-lang/rust.vim'
Plug 'Gavinok/vim-troff'
Plug 'vim-airline/vim-airline'
Plug 'Yggdroot/indentLine'
Plug 'vim-airline/vim-airline-themes'
call plug#end()
" configurations.
set number relativenumber
set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab
set softtabstop=0 noexpandtab
autocmd BufRead *.md set spell spelllang=en_uk
highlight LineNr ctermfg=8
" airline configuration.
let g:airline_theme='minimalist'
let g:airline_powerline_fonts=1
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#wordcount#enabled=1
" vimtex configuration.
let g:tex_flavor='latex'
let g:vimtex_view_method='zathura'
@ -36,9 +42,13 @@ let g:vimtex_view_general_viewer='zathura'
let g:pymode_lint_ignore="E501,W"
let g:pymode_lint_ignore="E302,W"
"Set color of PEP8 line end column to grey.
" Set color of PEP8 line end column to grey.
autocmd BufRead *.py hi ColorColumn ctermbg=8
" other plugins configuration
let g:indentLine_leadingSpaceEnabled=1
let g:airline#extensions#wordcount#enabled=1
let g:indentLine_leadingSpaceChar = '⬞'
" Custom commands
" Uses F4 to find and replace every instance of the word under the cursor.
nnoremap <F4> :%s/<c-r><c-w>/<c-r><c-w>/gc<c-f>$F/i