Merge branch 'master' into marynux

This commit is contained in:
Debucquoy Anthony 2024-04-20 09:53:49 +02:00
commit d20a50e347
3 changed files with 28 additions and 2 deletions

View File

@ -0,0 +1,6 @@
set -g mouse
bind h selectp -L
bind j selectp -D
bind k selectp -U
bind l selectp -R

View File

@ -0,0 +1,20 @@
import os
PATH_TO_LOMBOK = os.path.expanduser("/usr/lib/lombok-common/lombok.jar")
jdtls_args = ['-noverify',
'-Xmx1G',
'-XX:+UseG1GC',
'-XX:+UseStringDeduplication']
def Settings( **kwargs ):
if not os.path.exists(PATH_TO_LOMBOK):
raise RuntimeError("Didn't find lombok jar")
if kwargs['language'] == 'java':
return {
'server': {
'jvm_args': [
'-javaagent:' + PATH_TO_LOMBOK,
'-Xbootclasspath/a:' + PATH_TO_LOMBOK
] + jdtls_args
}
}

View File

@ -26,7 +26,7 @@ let g:vimtex_view_method = 'zathura'
nnoremap gd :YcmCompleter GoToDefinition<CR>
nnoremap gr :YcmCompleter GoToReferences<CR>
nnoremap K :YcmCompleter GetDoc<CR>
nnoremap <F9> :YcmCompleter FixIt<CR>
nnoremap <CR> :YcmCompleter FixIt<CR>
noremap gN :Lex<CR>
nnoremap <F12> :Make<CR>
@ -62,7 +62,7 @@ let g:cpp_attributes_highlight = 1
let g:ycm_always_populate_location_list = 1
let g:ycm_goto_buffer_command = "'split-or-existing-window'"
let g:ycm_java_binary_path = "/usr/lib/jvm/java-17-openjdk/bin/java"
let g:ycm_global_ycm_extra_conf = '~/.vim/ycm_extra_conf.py'
let g:ycm_language_server = [
\ {
\ 'name': 'tex',