latest changes for ycm at cistup made

This commit is contained in:
2023-03-15 18:24:30 +05:30
parent 0e3f91ba2b
commit 0753b024b3
6 changed files with 376 additions and 60 deletions

View File

@@ -1,9 +1,11 @@
"file created by dhanus on 21-July-2021
syntax on
set nu rnu
set clipboard+=unnamedplus
set clipboard=unnamedplus
set encoding=utf-8
set tabstop=4 softtabstop=4
set shiftwidth=4
set expandtab
set autoindent
set incsearch
@@ -12,23 +14,23 @@ call plug#begin('~/.vim/plugged')
Plug 'vim-airline/vim-airline'
Plug '/vim-airline/vim-airline-themes'
Plug 'Raimondi/delimitMate'
Plug 'vim-syntastic/syntastic'
" Plug 'vim-syntastic/syntastic'
Plug 'ryanoasis/vim-devicons'
Plug 'sheerun/vim-polyglot'
Plug 'preservim/nerdtree'
Plug 'Valloric/YouCompleteMe'
Plug 'ycm-core/YouCompleteMe'
call plug#end()
let g:airline#extensions#tabline#enabled = 1
let g:airline_powerline_fonts = 1
"highlighting
"YCM highlightning
"hi SpellBad ctermfg=160 ctermbg=236 cterm=underline guifg=#ff0000 guibg=#303030
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
"YCM disable preview split
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>
map <C-t> :!alacritty --working-directory $(pwd) & disown<CR><CR>

34
vim/.vimrc.old 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>