vimrc added

This commit is contained in:
2023-01-06 12:57:34 +05:30
parent 36e7e3c058
commit 0e3f91ba2b

34
vim/.vimrc Normal file
View File

@@ -0,0 +1,34 @@
"file created by dhanus on 21-July-2021
syntax on
set nu rnu
set clipboard+=unnamedplus
set encoding=utf-8
set tabstop=4 softtabstop=4
set autoindent
set incsearch
call plug#begin('~/.vim/plugged')
Plug 'tpope/vim-fugitive'
Plug 'vim-airline/vim-airline'
Plug '/vim-airline/vim-airline-themes'
Plug 'Raimondi/delimitMate'
Plug 'vim-syntastic/syntastic'
Plug 'ryanoasis/vim-devicons'
Plug 'sheerun/vim-polyglot'
Plug 'preservim/nerdtree'
Plug 'Valloric/YouCompleteMe'
call plug#end()
let g:airline#extensions#tabline#enabled = 1
let g:airline_powerline_fonts = 1
"highlighting
hi SpellBad term=reverse cterm=underline ctermfg=9 ctermbg=0 gui=undercurl guisp=Red
hi SpellCap term=reverse cterm=underline ctermfg=11 ctermbg=0 gui=undercurl guisp=Blue
"YCM config
set completeopt-=preview
map <C-c> :!pdflatex main.tex<CR><CR>
map <C-p> :!zathura main.pdf & disown<CR><CR>
map <C-t> :!st $pwd & disown<CR><CR>