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
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<target><obj> : ajoute <ojb> autour de <target> (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 <leader>m <esc>:ShellCheck!<cr>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