clean .vimrc

This commit is contained in:
Patrick Cao Huu Thien 2025-10-07 13:52:11 +02:00
parent c9c7acc769
commit db18abe861
No known key found for this signature in database
GPG Key ID: 7493CA6D56F2D2F7
1 changed files with 46 additions and 18 deletions

View File

@ -39,8 +39,10 @@ Plugin 'VundleVim/Vundle.vim'
" git " git
Plugin 'tpope/vim-fugitive' Plugin 'tpope/vim-fugitive'
" commentary " commentary
Plugin 'commentary.vim' Plugin 'commentary.vim'
" Plugin 'Syntastic' " Plugin 'Syntastic'
" set statusline+=%#warningmsg# " set statusline+=%#warningmsg#
" set statusline+=%{SyntasticStatuslineFlag()} " set statusline+=%{SyntasticStatuslineFlag()}
@ -51,8 +53,12 @@ Plugin 'commentary.vim'
" let g:syntastic_check_on_open = 1 " let g:syntastic_check_on_open = 1
" let g:syntastic_check_on_wq = 0 " let g:syntastic_check_on_wq = 0
" let g:syntastic_auto_jump = 2 " 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-surround'
Plugin 'tpope/vim-repeat' Plugin 'tpope/vim-repeat'
" ys<target><obj> : ajoute <ojb> autour de <target> (sous le curseur) " ys<target><obj> : ajoute <ojb> autour de <target> (sous le curseur)
" ysw" : ajoute des " autour du word " ysw" : ajoute des " autour du word
@ -90,15 +96,12 @@ Plugin 'chrisbra/unicode.vim'
" <~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~> " <~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~>
" (_) (_) " (_) (_)
" Plugin 'dense-analysis/ale' " Plugin 'dense-analysis/ale'
" let g:ale_linters = { " let g:ale_linters = {
" \ 'sh': ['shellcheck'], " \ 'sh': ['shellcheck'],
" \ 'py': ['flake8'], " \ 'py': ['flake8'],
" \} " \}
" " flake8 ignore " " flake8 ignore
" let g:ale_python_flake8_options = '--ignore=E501' " let g:ale_python_flake8_options = '--ignore=E501'
" let g:ale_fixers = { " let g:ale_fixers = {
" \ '*': ['remove_trailing_lines', 'trim_whitespace'], " \ '*': ['remove_trailing_lines', 'trim_whitespace'],
" \} " \}
@ -130,8 +133,6 @@ let g:ycm_language_server = []
" <~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~> " <~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~>
" (_) (_) " (_) (_)
" Archlinux
" https://github.com/hashicorp/terraform-ls
" _\|/_ " _\|/_
" (o o) " (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) " (o o)
@ -246,13 +255,20 @@ let g:ycm_language_server +=
" online deeplearning all language sementic completion system " online deeplearning all language sementic completion system
" Plugin 'zxqfl/tabnine-vim' " Plugin 'zxqfl/tabnine-vim'
" _\|/_
" (o o)
" <~~~~~~oOO-{_}-OOo~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~>
" | |
" | IA coding |
" | |
" <~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~>
" (_) (_)
" Codeium - « free » coding assistant " Codeium - « free » coding assistant
" https://github.com/Exafunction/codeium.vim " https://github.com/Exafunction/codeium.vim
Plugin 'Exafunction/codeium.vim' Plugin 'Exafunction/codeium.vim'
" Ollama Support for Vim " Ollama Support for Vim
" https://github.com/gergap/vim-ollama " https://github.com/gergap/vim-ollama
" Plugin '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' let g:ollama_logfile = '/home/patrick/vim-ollama.log'
" _\|/_
" ansible " (o o)
" Plugin 'pearofducks/ansible-vim' " <~~~~~~oOO-{_}-OOo~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~>
" enable YAML for hosts.yml " | |
" | ansible |
" | Plugin 'pearofducks/ansible-vim' |
" | enable YAML for hosts.yml |
" | |
" <~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~>
" (_) (_)
"
" autocmd BufNewFile,BufRead hosts.y[a]ml setfiletype yaml.ansible " autocmd BufNewFile,BufRead hosts.y[a]ml setfiletype yaml.ansible
" _\|/_ " _\|/_
@ -377,7 +400,7 @@ autocmd FileType sh imap <leader>m <esc>:ShellCheck!<cr>i
" | | " | |
" <~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~> " <~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~>
" (_) (_) " (_) (_)
Plugin 'NLKNguyen/papercolor-theme' " Plugin 'NLKNguyen/papercolor-theme'
@ -404,6 +427,11 @@ set background=dark
" colorscheme PaperColor " colorscheme PaperColor
colorscheme pcht 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 " print code with :hardcopy using impression.lam.jussieu.fr
" set printdevice=hp5550-509 " set printdevice=hp5550-509