From 2789e7aef1a2b44188b35d90c9ea87d594877d77 Mon Sep 17 00:00:00 2001 From: pryazha Date: Fri, 29 Aug 2025 13:33:45 +0500 Subject: change vim nvim and emacs configs --- .config/.vimrc | 52 +++++++++++++++++++++++++++++----------------------- 1 file changed, 29 insertions(+), 23 deletions(-) (limited to '.config/.vimrc') diff --git a/.config/.vimrc b/.config/.vimrc index 4914f6f..8ad26f8 100644 --- a/.config/.vimrc +++ b/.config/.vimrc @@ -1,24 +1,37 @@ +call plug#begin() +Plug 'junegunn/goyo.vim' +Plug 'junegunn/fzf.vim' +call plug#end() + "visual syntax on let g:netrw_banner=0 set termguicolors set background=dark colorscheme quiet -hi normal guifg=#dcd7d7 guibg=#242829 -hi constant guifg=#dcade6 -hi character guifg=#dcade6 -hi number guifg=#dcade6 -hi boolean guifg=#dcade6 -hi float guifg=#dcade6 -hi identifier guifg=#5ac3fd -hi statement guifg=#3eade6 -hi type guifg=#88cdf4 -hi special guifg=#5ac3fd -hi preproc guifg=#3eade6 -hi visual guifg=#dcade6 guibg=#242829 -hi incsearch guifg=#dcade6 guibg=#242829 -hi matchparen guifg=#dcade6 guibg=#242829 -hi quickfixline guifg=#242829 guibg=#3eade6 +let v:colornames['bg0'] = '#242829' +let v:colornames['fg0'] = '#dcd7d7' +let v:colornames['mag'] = '#e18d8e' +let v:colornames['cya'] = '#5cadc6' +let v:colornames['blu'] = '#84b8a9' +let v:colornames['redu'] = '#e6507a' +let v:colornames['yel'] = '#2e89a5' +hi normal guifg=fg0 guibg=bg0 +hi constant guifg=mag +hi character guifg=mag +hi number guifg=mag +hi boolean guifg=mag +hi float guifg=mag +hi identifier guifg=yel +hi statement guifg=blu +hi type guifg=cya +hi special guifg=yel +hi preproc guifg=blu +hi visual guifg=mag guibg=bg0 +hi incsearch guifg=mag guibg=bg0 +hi matchparen guifg=mag guibg=bg0 +hi quickfixline guifg=bg0 guibg=fg0 +hi error guifg=bg0 guibg=redu "formatting set nowrap @@ -27,12 +40,6 @@ autocmd BufRead,BufNewFile *.c,*.cpp { set cinoptions=:0,l1,t0,g0,(0 } -"autocmd BufRead,BufNewFile *.cpp { -" set tabstop=4 -" set shiftwidth=4 -" set expandtab -"} - "functional set clipboard+=unnamedplus set nohlsearch @@ -47,7 +54,6 @@ map s :Sex map q :q set makeprg=./build.sh -map m :make! -":cope +map m :make!:cope map n :cnext map g :grep!-rn.'' -- cgit v1.2.3-70-g09d2