Getting rid of Vundle and utilizing git power and pack builtin

This commit is contained in:
2024-06-15 13:19:11 +02:00
parent 21de46be60
commit 95b8678f15
35 changed files with 146 additions and 92 deletions

99
.gitmodules vendored
View File

@ -1,6 +1,99 @@
[submodule "vim/.vim/bundle/Vundle.vim"]
path = vim/.vim/bundle/Vundle.vim
url = https://github.com/Vundlevim/Vundle.vim
[submodule "polybar/.config/polybar/polybar-spotify"]
path = polybar/.config/polybar/polybar-spotify
url = https://github.com/Jvanrhijn/polybar-spotify
[submodule "vim/.vim/pack/autoload/start/lightline.vim"]
path = vim/.vim/pack/autoload/start/lightline.vim
url = https://github.com/itchyny/lightline.vim
[submodule "vim/.vim/pack/autoload/start/rainbow_parentheses.vim"]
path = vim/.vim/pack/autoload/start/rainbow_parentheses.vim
url = https://github.com/kien/rainbow_parentheses.vim
[submodule "vim/.vim/pack/autoload/start/vim-startify"]
path = vim/.vim/pack/autoload/start/vim-startify
url = https://github.com/mhinz/vim-startify
[submodule "vim/.vim/pack/autoload/start/colorizer"]
path = vim/.vim/pack/autoload/start/colorizer
url = https://github.com/lilydjwg/colorizer
[submodule "vim/.vim/pack/autoload/start/auto-pairs"]
path = vim/.vim/pack/autoload/start/auto-pairs
url = https://github.com/jiangmiao/auto-pairs
[submodule "vim/.vim/pack/autoload/start/vim-maximizer"]
path = vim/.vim/pack/autoload/start/vim-maximizer
url = https://github.com/szw/vim-maximizer
[submodule "vim/.vim/pack/autoload/start/fzf"]
path = vim/.vim/pack/autoload/start/fzf
url = https://github.com/junegunn/fzf
[submodule "vim/.vim/pack/autoload/start/fzf.vim"]
path = vim/.vim/pack/autoload/start/fzf.vim
url = https://github.com/junegunn/fzf.vim
[submodule "vim/.vim/pack/autoload/start/vim-peekaboo"]
path = vim/.vim/pack/autoload/start/vim-peekaboo
url = https://github.com/junegunn/vim-peekaboo
[submodule "vim/.vim/pack/autoload/start/unicode.vim"]
path = vim/.vim/pack/autoload/start/unicode.vim
url = https://github.com/chrisbra/unicode.vim
[submodule "vim/.vim/pack/autoload/start/ultisnips"]
path = vim/.vim/pack/autoload/start/ultisnips
url = https://github.com/SirVer/ultisnips
[submodule "vim/.vim/pack/autoload/start/vim-snippets"]
path = vim/.vim/pack/autoload/start/vim-snippets
url = https://github.com/honza/vim-snippets
[submodule "vim/.vim/pack/autoload/start/tagbar"]
path = vim/.vim/pack/autoload/start/tagbar
url = https://github.com/majutsushi/tagbar
[submodule "vim/.vim/pack/autoload/start/vim-commentary"]
path = vim/.vim/pack/autoload/start/vim-commentary
url = https://github.com/tpope/vim-commentary
[submodule "vim/.vim/pack/autoload/start/vimspector"]
path = vim/.vim/pack/autoload/start/vimspector
url = https://github.com/puremourning/vimspector
[submodule "vim/.vim/pack/autoload/start/YouCompleteMe"]
path = vim/.vim/pack/autoload/start/YouCompleteMe
url = https://github.com/ycm-core/YouCompleteMe
[submodule "vim/.vim/pack/autoload/start/vim-signify"]
path = vim/.vim/pack/autoload/start/vim-signify
url = https://github.com/mhinz/vim-signify
[submodule "vim/.vim/pack/autoload/start/vim-fugitive"]
path = vim/.vim/pack/autoload/start/vim-fugitive
url = https://github.com/tpope/vim-fugitive
[submodule "vim/.vim/pack/autoload/start/vim-jinja"]
path = vim/.vim/pack/autoload/start/vim-jinja
url = https://github.com/mitsuhiko/vim-jinja
[submodule "vim/.vim/pack/autoload/start/emmet-vim"]
path = vim/.vim/pack/autoload/start/emmet-vim
url = https://github.com/mattn/emmet-vim
[submodule "vim/.vim/pack/autoload/start/loremipsum"]
path = vim/.vim/pack/autoload/start/loremipsum
url = https://github.com/vim-scripts/loremipsum
[submodule "vim/.vim/pack/autoload/start/vim-surround"]
path = vim/.vim/pack/autoload/start/vim-surround
url = https://github.com/tpope/vim-surround
[submodule "vim/.vim/pack/autoload/start/xmledit"]
path = vim/.vim/pack/autoload/start/xmledit
url = https://github.com/sukima/xmledit
[submodule "vim/.vim/pack/autoload/start/markdown-preview.nvim"]
path = vim/.vim/pack/autoload/start/markdown-preview.nvim
url = https://github.com/iamcco/markdown-preview.nvim
[submodule "vim/.vim/pack/autoload/start/vim-cpp-modern"]
path = vim/.vim/pack/autoload/start/vim-cpp-modern
url = https://github.com/bfrg/vim-cpp-modern
[submodule "vim/.vim/pack/autoload/start/a.vim"]
path = vim/.vim/pack/autoload/start/a.vim
url = https://github.com/vim-scripts/a.vim
[submodule "vim/.vim/pack/autoload/start/vim-glsl"]
path = vim/.vim/pack/autoload/start/vim-glsl
url = https://github.com/tikhomirov/vim-glsl
[submodule "vim/.vim/pack/autoload/start/vimtex"]
path = vim/.vim/pack/autoload/start/vimtex
url = https://github.com/lervag/vimtex
[submodule "vim/.vim/pack/autoload/start/latex-snippets"]
path = vim/.vim/pack/autoload/start/latex-snippets
url = https://github.com/gillescastel/latex-snippets
[submodule "vim/.vim/pack/autoload/start/plantuml-previewer.vim"]
path = vim/.vim/pack/autoload/start/plantuml-previewer.vim
url = https://github.com/weirongxu/plantuml-previewer.vim
[submodule "vim/.vim/pack/autoload/start/open-browser.vim"]
path = vim/.vim/pack/autoload/start/open-browser.vim
url = https://github.com/tyru/open-browser.vim
[submodule "vim/.vim/pack/autoload/start/plantuml-syntax"]
path = vim/.vim/pack/autoload/start/plantuml-syntax
url = https://github.com/aklt/plantuml-syntax

View File

@ -1,5 +1,3 @@
autocmd FileType asm noremap <F12> <ESC>:execute 'silent !qtspim' expand('%::p')<CR>
nnoremap <C-p> :Buffers<CR>
nnoremap <C-g> :Ag<CR>
@ -36,7 +34,7 @@ let g:vimtex_view_method = 'zathura'
nnoremap gd :YcmCompleter GoToDefinition<CR>
nnoremap gr :YcmCompleter GoToReferences<CR>
nnoremap K :YcmCompleter GetDoc<CR>
nnoremap <CR> :YcmCompleter FixIt<CR>
nnoremap \<CR> :YcmCompleter FixIt<CR>
noremap gN :Lex<CR>
nnoremap <F12> :Make<CR>
@ -75,11 +73,26 @@ let g:ycm_goto_buffer_command = "'split-or-existing-window'"
let g:ycm_global_ycm_extra_conf = '~/.vim/ycm_extra_conf.py'
" let g:ycm_java_binary_path = "/usr/lib/jvm/java-17-openjdk/bin/java"
let g:ycm_language_server = [
\ {
\ {
\ 'name': 'tex',
\ 'cmdline': ['texlab'],
\ 'filetypes': ['tex'],
\ },
\ {
\ 'name': 'godot',
\ 'filetypes': ['gdscript'],
\ 'port': 6008,
\ 'project_root_files': ['project.godot']
\ },
\ {
\ 'name': 'arduino',
\ 'filetypes': ['arduino'],
\ 'cmdline': ['arduino-language-server',
\ '-clangd', '/usr/bin/clangd',
\ '-cli', '/usr/bin/arduino-cli',
\ '-cli-config', '$HOME/.arduino15/arduino-cli.yaml',
\ '-fqbn', 'arduino:avr:uno'],
\ },
\ ]
" let g:completor_clang_binary = "/usr/bin/clang"
@ -107,6 +120,7 @@ set nu
set rnu
set scrolloff=10
set shiftwidth=4
set shortmess-=S
set showcmd
set spelllang+=fr
set splitbelow splitright
@ -119,87 +133,3 @@ hi NonText ctermfg=None ctermbg=None
packadd termdebug
let g:termdebug_wide=1
filetype off
set rtp+=$HOME/.vim/bundle/Vundle.vim/
call vundle#begin()
"Mandatory
Plugin 'vundleVim/Vundle.vim' "plugin Manager
"Quality of life (any)
Plugin 'itchyny/lightline.vim' "status bar
Plugin 'kien/rainbow_parentheses.vim' "Better Raimbow Parentheses
Plugin 'mhinz/vim-startify' "start screen
Plugin 'lilydjwg/colorizer' "color hexcode
Plugin 'jiangmiao/auto-pairs' "auto Pair Brackets
" Plugin 'Yggdroot/indentLine' "show indent - bugging conceal
Plugin 'szw/vim-maximizer'
" Plugin 'preservim/nerdtree' "Directory Visulaliser :Nerdtree
Plugin 'junegunn/fzf', {'do': { -> fzf#install() }}
Plugin 'junegunn/fzf.vim'
Plugin 'junegunn/vim-peekaboo' "see content of register before past for @ C-R and \"
Plugin 'chrisbra/unicode.vim'
"useful in multiple languages
Plugin 'SirVer/ultisnips' "fast write
Plugin 'honza/vim-snippets' "lib of snips
Plugin 'majutsushi/tagbar' "display tagBar with :TagbarToggle
" Plugin 'maralla/completor.vim' "completion menu
" Plugin 'tokorom/completor-shell' "Add on of completor.vim for shell scripting
Plugin 'tpope/vim-commentary' "comment with <gcc>
" Plugin 'dense-analysis/ale' "Async error checker (test usefulness)
Plugin 'puremourning/vimspector' "Debugger
Plugin 'ycm-core/YouCompleteMe' "completion tool
"git
Plugin 'mhinz/vim-signify' "git diff show
Plugin 'tpope/vim-fugitive' "for the :Git <command>
"php
" Plugin 'StanAngeloff/php.vim' "php syntax
" Plugin 'phpactor/phpactor' "php auto-completion
"python
" Plugin 'python-mode/python-mode' "A python IDE
Plugin 'mitsuhiko/vim-jinja'
"html/css
Plugin 'mattn/emmet-vim' "Fast http
Plugin 'vim-scripts/loremipsum' "ipsum generator :Loremipsum <word>
Plugin 'tpope/vim-surround' "Surround html tags
Plugin 'sukima/xmledit' "Edit XML and HTML
"lua
" Plugin 'wsdjeg/vim-lua' "lua syntax
"markdown
Plugin 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vundle'] }
"c & cpp
Plugin 'bfrg/vim-cpp-modern' "Extended vim syntax highlight c++
Plugin 'a.vim' "go from hpp to cpp with :A
" Plugin 'xavierd/clang_complete' "CLang Complete (don't work with ycm)
Plugin 'cdelledonne/vim-cmake'
"glsl (shader)
Plugin 'tikhomirov/vim-glsl'
"c sharp
" Plugin 'OmniSharp/omnisharp-vim'
"latex
Plugin 'lervag/vimtex'
Plugin 'gillescastel/latex-snippets'
"uml
Plugin 'weirongxu/plantuml-previewer.vim'
Plugin 'tyru/open-browser.vim'
Plugin 'aklt/plantuml-syntax'
call vundle#end()
filetype plugin indent on
set omnifunc=syntaxcomplete#Complete