some changes

This commit is contained in:
Debucquoy Anthony 2024-05-08 12:30:33 +02:00
parent 8d3e39736b
commit b3084fd9b6
7 changed files with 31 additions and 8 deletions

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

@ -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

View File

@ -1,8 +1,22 @@
autocmd FileType asm noremap <F12> <ESC>:execute 'silent !qtspim' expand('%::p')<CR> autocmd FileType asm noremap <F12> <ESC>:execute 'silent !qtspim' expand('%::p')<CR>
nnoremap <C-p> :GFiles<CR> nnoremap <C-p> :Buffers<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 +25,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,9 +33,6 @@ 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>
@ -65,6 +75,7 @@ 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',
@ -78,14 +89,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
@ -95,18 +107,20 @@ 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 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
hi NonText ctermfg=None ctermbg=None hi NonText ctermfg=None ctermbg=None
packadd termdebug packadd termdebug
let g:termdebug_wide=1
filetype off filetype off
set rtp+=$HOME/.vim/bundle/Vundle.vim/ set rtp+=$HOME/.vim/bundle/Vundle.vim/
@ -127,6 +141,7 @@ Plugin 'szw/vim-maximizer'
Plugin 'junegunn/fzf', {'do': { -> fzf#install() }} Plugin 'junegunn/fzf', {'do': { -> fzf#install() }}
Plugin 'junegunn/fzf.vim' Plugin 'junegunn/fzf.vim'
Plugin 'junegunn/vim-peekaboo' "see content of register before past for @ C-R and \" Plugin 'junegunn/vim-peekaboo' "see content of register before past for @ C-R and \"
Plugin 'chrisbra/unicode.vim'
"useful in multiple languages "useful in multiple languages
Plugin 'SirVer/ultisnips' "fast write Plugin 'SirVer/ultisnips' "fast write
@ -168,7 +183,6 @@ Plugin 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for'
Plugin 'bfrg/vim-cpp-modern' "Extended vim syntax highlight c++ Plugin 'bfrg/vim-cpp-modern' "Extended vim syntax highlight c++
Plugin 'a.vim' "go from hpp to cpp with :A Plugin 'a.vim' "go from hpp to cpp with :A
" Plugin 'xavierd/clang_complete' "CLang Complete (don't work with ycm) " Plugin 'xavierd/clang_complete' "CLang Complete (don't work with ycm)
" Plugin 'ctrlpvim/ctrlp.vim' "ctrl p support
Plugin 'cdelledonne/vim-cmake' Plugin 'cdelledonne/vim-cmake'
"glsl (shader) "glsl (shader)

View File

@ -1 +1,2 @@
emulate sh -c 'source /etc/profile' emulate sh -c 'source /etc/profile'
emulate sh -c 'source ~/.profile'

View File

@ -174,6 +174,9 @@ 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 /opt/enhancd/init.sh
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