From db18abe86176d25abd02e5a44a887999ceb744d8 Mon Sep 17 00:00:00 2001 From: Patrick Cao Huu Thien Date: Tue, 7 Oct 2025 13:52:11 +0200 Subject: [PATCH] clean .vimrc --- .vimrc_vundle | 64 ++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 46 insertions(+), 18 deletions(-) diff --git a/.vimrc_vundle b/.vimrc_vundle index 71b5ca4..75cd20c 100755 --- a/.vimrc_vundle +++ b/.vimrc_vundle @@ -39,8 +39,10 @@ Plugin 'VundleVim/Vundle.vim' " git Plugin 'tpope/vim-fugitive' + " commentary Plugin 'commentary.vim' + " Plugin 'Syntastic' " set statusline+=%#warningmsg# " set statusline+=%{SyntasticStatuslineFlag()} @@ -51,8 +53,12 @@ Plugin 'commentary.vim' " let g:syntastic_check_on_open = 1 " let g:syntastic_check_on_wq = 0 " let g:syntastic_auto_jump = 2 -Plugin 'ctrlpvim/ctrlp.vim' + +" ctrlp.vim : Full path fuzzy file, buffer, mru, tag, ... finder for Vim +" Plugin 'ctrlpvim/ctrlp.vim' + Plugin 'tpope/vim-surround' + Plugin 'tpope/vim-repeat' " ys : ajoute autour de (sous le curseur) " ysw" : ajoute des " autour du word @@ -90,15 +96,12 @@ Plugin 'chrisbra/unicode.vim' " <~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~> " (_) (_) " Plugin 'dense-analysis/ale' - " let g:ale_linters = { " \ 'sh': ['shellcheck'], " \ 'py': ['flake8'], " \} - " " flake8 ignore " let g:ale_python_flake8_options = '--ignore=E501' - " let g:ale_fixers = { " \ '*': ['remove_trailing_lines', 'trim_whitespace'], " \} @@ -130,8 +133,6 @@ let g:ycm_language_server = [] " <~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~> " (_) (_) -" Archlinux -" https://github.com/hashicorp/terraform-ls " _\|/_ " (o o) @@ -177,12 +178,20 @@ let g:ycm_language_server += \ }, \ ] -" vim-language-server -" https://github.com/iamcco/vim-language-server -" install: -" npm install -g vim-language-server -" +" _\|/_ +" (o o) +" <~~~~~~oOO-{_}-OOo~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~> +" | | +" | vim-language-server | +" | https://github.com/iamcco/vim-language-server | +" | | +" | install: | +" | npm install -g vim-language-server | +" | | +" <~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~> +" (_) (_) + " _\|/_ " (o o) @@ -246,13 +255,20 @@ let g:ycm_language_server += " online deeplearning all language sementic completion system " Plugin 'zxqfl/tabnine-vim' +" _\|/_ +" (o o) +" <~~~~~~oOO-{_}-OOo~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~> +" | | +" | IA coding | +" | | +" <~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~> +" (_) (_) + " Codeium - « free » coding assistant " https://github.com/Exafunction/codeium.vim Plugin 'Exafunction/codeium.vim' - - " Ollama Support for Vim " https://github.com/gergap/vim-ollama " Plugin 'gergap/vim-ollama' @@ -279,10 +295,17 @@ let g:ollama_debug = 1 let g:ollama_logfile = '/home/patrick/vim-ollama.log' - -" ansible -" Plugin 'pearofducks/ansible-vim' -" enable YAML for hosts.yml +" _\|/_ +" (o o) +" <~~~~~~oOO-{_}-OOo~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~> +" | | +" | ansible | +" | Plugin 'pearofducks/ansible-vim' | +" | enable YAML for hosts.yml | +" | | +" <~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~> +" (_) (_) +" " autocmd BufNewFile,BufRead hosts.y[a]ml setfiletype yaml.ansible " _\|/_ @@ -377,7 +400,7 @@ autocmd FileType sh imap m :ShellCheck!i " | | " <~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~> " (_) (_) -Plugin 'NLKNguyen/papercolor-theme' +" Plugin 'NLKNguyen/papercolor-theme' @@ -404,6 +427,11 @@ set background=dark " colorscheme PaperColor colorscheme pcht +" change YouCompleteMe colors +highlight Pmenu ctermfg=7 ctermbg=4 guifg=Grey guibg=DarkBlue +highlight PmenuSel ctermfg=15 ctermbg=4 guifg=White guibg=DarkBlue + + " print code with :hardcopy using impression.lam.jussieu.fr " set printdevice=hp5550-509