Merge remote-tracking branch 'origin/master' into mininux

This commit is contained in:
Debucquoy Anthony 2024-06-21 17:58:27 +02:00
commit 446a7a9e1e
Signed by: tonitch
GPG Key ID: A78D6421F083D42E
41 changed files with 177 additions and 99 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"] [submodule "polybar/.config/polybar/polybar-spotify"]
path = polybar/.config/polybar/polybar-spotify path = polybar/.config/polybar/polybar-spotify
url = https://github.com/Jvanrhijn/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

2
bin/.bin/javadocs Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
setsid firefox "/usr/share/doc/java-openjdk/index.html" &

View File

@ -1644,3 +1644,4 @@
🏴󠁧󠁢󠁥󠁮󠁧󠁿 flag: England; U+1F3F4 U+E0067 U+E0062 U+E0065 U+E006E U+E0067 U+E007F 🏴󠁧󠁢󠁥󠁮󠁧󠁿 flag: England; U+1F3F4 U+E0067 U+E0062 U+E0065 U+E006E U+E0067 U+E007F
🏴󠁧󠁢󠁳󠁣󠁴󠁿 flag: Scotland; U+1F3F4 U+E0067 U+E0062 U+E0073 U+E0063 U+E0074 U+E007F 🏴󠁧󠁢󠁳󠁣󠁴󠁿 flag: Scotland; U+1F3F4 U+E0067 U+E0062 U+E0073 U+E0063 U+E0074 U+E007F
🏴󠁧󠁢󠁷󠁬󠁳󠁿 flag: Wales; U+1F3F4 U+E0067 U+E0062 U+E0077 U+E006C U+E0073 U+E007F 🏴󠁧󠁢󠁷󠁬󠁳󠁿 flag: Wales; U+1F3F4 U+E0067 U+E0062 U+E0077 U+E006C U+E0073 U+E007F
Ⓥ voids:

View File

@ -4,5 +4,6 @@ inactive-opacity = 0.9;
opacity-rule = [ opacity-rule = [
"100:name ~?= 'YouTube — Mozilla Firefox'", "100:name ~?= 'YouTube — Mozilla Firefox'",
"100:name ~?= 'Twitch — Mozilla Firefox'", "100:name ~?= 'Twitch — Mozilla Firefox'",
"100:name ~?= 'Netflix — Mozilla Firefox'",
"100:class_g = 'Zathura'" "100:class_g = 'Zathura'"
] ]

View File

@ -6,5 +6,6 @@ git
picom picom
polybar polybar
sxhkd sxhkd
tmux
vim vim
zathura zathura

View File

@ -1,4 +1,5 @@
set -g mouse set -g mouse
set -g set-clipboard on
bind h selectp -L bind h selectp -L
bind j selectp -D bind j selectp -D

@ -1 +0,0 @@
Subproject commit 0765c5c4f485fa111f190e2d7dd89ec9f5b3f554

@ -0,0 +1 @@
Subproject commit 4556062839aa2e86f2f4f1c0b4532697d607af23

@ -0,0 +1 @@
Subproject commit 2cbe946206ec622d9d8cf2c99317f204c4d41885

@ -0,0 +1 @@
Subproject commit 39f06b873a8449af8ff6a3eee716d3da14d63a76

@ -0,0 +1 @@
Subproject commit 72790a003d5a706c287486a1a81e3a6b32158b54

@ -0,0 +1 @@
Subproject commit 3fb2f63799e1922f7647ed9ff3b32154031a76ee

@ -0,0 +1 @@
Subproject commit 6de0a7ddc11dd9d4a2261e9642a99f3901e0ae27

@ -0,0 +1 @@
Subproject commit 279e1ec068f526e985ee7e3f62a71f083bbe0196

@ -0,0 +1 @@
Subproject commit 1e29f44c6fc0596dad1791fdf2c07d6da33fe27e

@ -0,0 +1 @@
Subproject commit 58c97bc21c6f657d3babdd4eefce7593e30e75ce

@ -0,0 +1 @@
Subproject commit 39354ae1c86c89bf36a4af7c6d4b9ca0c0a9eedf

@ -0,0 +1 @@
Subproject commit a923f5fc5ba36a3b17e289dc35dc17f66d0548ee

@ -0,0 +1 @@
Subproject commit 7d4c1d8198e889d513a030b5a83faa07606bac27

@ -0,0 +1 @@
Subproject commit 1dd4d0f2b09cd80a217f76d82f93830dbbe689b3

@ -0,0 +1 @@
Subproject commit 44054d6d2cbcf01a064858faa3364cd30d38057d

@ -0,0 +1 @@
Subproject commit eb8baa5428bde10ecc1cb14eed1d6e16f5f24695

@ -0,0 +1 @@
Subproject commit 0815b5455c792a610d28ff3e7981642c9cf05d62

@ -0,0 +1 @@
Subproject commit 49dc8cb2086db19d385791c8e1635723b0fd95c7

@ -0,0 +1 @@
Subproject commit bc20d0fb3331a7b41708388c56bb8221c2104da7

@ -0,0 +1 @@
Subproject commit c4b8f52cbb7142ec239494e5a2c4a512f92c4d07

@ -0,0 +1 @@
Subproject commit 1e6d2b52e34f222f79ecf523643a794f9079d7bd

@ -0,0 +1 @@
Subproject commit 64d6cafb9dcbacce18c26d7daf617ebb96b273f3

@ -0,0 +1 @@
Subproject commit 40dd0b143ef93f3930a8a409f60c1bb85e28b727

@ -0,0 +1 @@
Subproject commit 8a8f0ed97c1751d304cf5b7241f2fe27b0e61f81

@ -0,0 +1 @@
Subproject commit 2e54952fe91e140a2e69f35f22131219fcd9c5f1

@ -0,0 +1 @@
Subproject commit cc4469c204099c73dd7534531fa8ba271f704831

@ -0,0 +1 @@
Subproject commit 8670143f9e12ed1cd3c9b2c54f345cdd9a4baac3

@ -0,0 +1 @@
Subproject commit 96d79529edc3dee1ccf2ce7b75a88cb546ec2501

@ -0,0 +1 @@
Subproject commit 4e089dffdad46f3f5593f34362d530e8fe823dcf

@ -0,0 +1 @@
Subproject commit 3d188ed2113431cf8dac77be61b842acb64433d9

@ -0,0 +1 @@
Subproject commit ee3bd0120525978521168eda1c3a64ef24e3cb86

@ -0,0 +1 @@
Subproject commit 8ed94566e6fe3f5b163131dc374d224d2d320db7

@ -0,0 +1 @@
Subproject commit 6db863497f956ece4b0795fe19cb16d6c57f6543

View File

@ -1,8 +1,20 @@
autocmd FileType asm noremap <F12> <ESC>:execute 'silent !qtspim' expand('%::p')<CR> nnoremap <C-p> :Buffers<CR>
nnoremap <C-p> :GFiles<CR>
nnoremap <C-g> :Ag<CR> nnoremap <C-g> :Ag<CR>
"alt g to :Gfiles (if in git folder) else :Files
function! GFilesFallback()
let output = system('git rev-parse --show-toplevel') " Is there a faster way?
let prefix = get(g:, 'fzf_command_prefix', '')
if v:shell_error == 0
exec "normal :" . prefix . "GFiles\<CR>"
else
exec "normal :" . prefix . "Files\<CR>"
endif
return 0
endfunction
execute "set <M-g>=\eg"
nnoremap <M-g> :call GFilesFallback()<CR>
nnoremap <leader><CR> :vert term<CR> nnoremap <leader><CR> :vert term<CR>
let g:netrw_keepdir=0 let g:netrw_keepdir=0
@ -11,7 +23,6 @@ let g:netrw_liststyle=3
let python_highlight_all=1 let python_highlight_all=1
let g:pymode_python = 'python3' let g:pymode_python = 'python3'
let g:pymode_options_max_line_length = 120 let g:pymode_options_max_line_length = 120
" let g:ctrlp_cmd = 'CtrlPTag'
let g:htmljinja_disable_detection = 1 let g:htmljinja_disable_detection = 1
let g:vimtex_view_method = 'zathura' let g:vimtex_view_method = 'zathura'
@ -20,13 +31,10 @@ let g:vimtex_grammar_textidote = {'jar': '/usr/share/java/textidote.jar'}
let g:vimtex_view_method = 'zathura' let g:vimtex_view_method = 'zathura'
" nnoremap <c-p> <plug>(YCMFindSymbolInDirectory)
" nnoremap <c-P> <plug>(YCMFindSymbolInWorkspace)
nnoremap gd :YcmCompleter GoToDefinition<CR> nnoremap gd :YcmCompleter GoToDefinition<CR>
nnoremap gr :YcmCompleter GoToReferences<CR> nnoremap gr :YcmCompleter GoToReferences<CR>
nnoremap K :YcmCompleter GetDoc<CR> nnoremap K :YcmCompleter GetDoc<CR>
nnoremap <CR> :YcmCompleter FixIt<CR> nnoremap \<CR> :YcmCompleter FixIt<CR>
noremap gN :Lex<CR> noremap gN :Lex<CR>
nnoremap <F12> :Make<CR> nnoremap <F12> :Make<CR>
@ -63,12 +71,28 @@ let g:cpp_attributes_highlight = 1
let g:ycm_always_populate_location_list = 1 let g:ycm_always_populate_location_list = 1
let g:ycm_goto_buffer_command = "'split-or-existing-window'" 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_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 = [ let g:ycm_language_server = [
\ { \ {
\ 'name': 'tex', \ 'name': 'tex',
\ 'cmdline': ['texlab'], \ 'cmdline': ['texlab'],
\ 'filetypes': ['tex'], \ '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" " let g:completor_clang_binary = "/usr/bin/clang"
@ -76,14 +100,15 @@ let g:ycm_language_server = [
nnoremap <space> za nnoremap <space> za
syntax on syntax on
" set foldcolumn=1
set autochdir set autochdir
set clipboard^=unnamed,unnamedplus set clipboard^=unnamed,unnamedplus
set concealcursor= set concealcursor=
set conceallevel=2 set conceallevel=2
set encoding=utf-8 set encoding=utf-8
" set foldcolumn=1
set foldlevel=99 set foldlevel=99
set foldmethod=syntax set foldmethod=syntax
set hidden
set hls set hls
set ignorecase set ignorecase
set incsearch set incsearch
@ -93,12 +118,14 @@ set nocompatible
set nowrap set nowrap
set nu set nu
set rnu set rnu
set shiftwidth=4
set scrolloff=10 set scrolloff=10
set shiftwidth=4
set shortmess-=S
set showcmd set showcmd
set spelllang+=fr set spelllang+=fr
set splitbelow splitright set splitbelow splitright
set tabstop=4 set tabstop=4
set ttymouse=xterm2
color desert color desert
hi Normal ctermfg=None ctermbg=None hi Normal ctermfg=None ctermbg=None
@ -106,87 +133,3 @@ hi NonText ctermfg=None ctermbg=None
packadd termdebug packadd termdebug
let termdebug_wide=1 let 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 \"
"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 'ctrlpvim/ctrlp.vim' "ctrl p support
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

View File

@ -70,6 +70,7 @@ alias rofi="rofi -show combi"
alias get_idf='source /opt/esp-idf/export.sh' alias get_idf='source /opt/esp-idf/export.sh'
alias open="xdg-open" alias open="xdg-open"
alias sxiv=nsxiv alias sxiv=nsxiv
alias :q=exit
# Theming section # Theming section
autoload -U compinit colors zcalc autoload -U compinit colors zcalc
@ -174,6 +175,10 @@ source /usr/share/zsh/plugins/zsh-vi-mode/zsh-vi-mode.plugin.zsh
zmodload zsh/terminfo zmodload zsh/terminfo
# Enabling fzf capabilities # Enabling fzf capabilities
source /usr/share/fzf/*.zsh source /usr/share/fzf/*.zsh
source /usr/share/enhancd/init.sh
export ENHANCD_ENABLE_DOUBLE_DOT=false
bindkey "$terminfo[kcuu1]" history-substring-search-up bindkey "$terminfo[kcuu1]" history-substring-search-up
bindkey "$terminfo[kcud1]" history-substring-search-down bindkey "$terminfo[kcud1]" history-substring-search-down
bindkey '^[[A' history-substring-search-up bindkey '^[[A' history-substring-search-up