From 8d3e39736b851cdc3fcf756e9a091bbd5c1f78da Mon Sep 17 00:00:00 2001 From: Anthony Debucquoy Date: Sat, 20 Apr 2024 10:52:57 +0200 Subject: [PATCH] vim yp and no more args for lombok --- vim/.vim/ycm_extra_conf.py | 10 +++++----- vim/.vimrc | 2 ++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/vim/.vim/ycm_extra_conf.py b/vim/.vim/ycm_extra_conf.py index 1a61c1d..98ea396 100644 --- a/vim/.vim/ycm_extra_conf.py +++ b/vim/.vim/ycm_extra_conf.py @@ -1,10 +1,10 @@ import os PATH_TO_LOMBOK = os.path.expanduser("/usr/lib/lombok-common/lombok.jar") -jdtls_args = ['-noverify', - '-Xmx1G', - '-XX:+UseG1GC', - '-XX:+UseStringDeduplication'] +# jdtls_args = ['-noverify', +# '-Xmx1G', +# '-XX:+UseG1GC', +# '-XX:+UseStringDeduplication'] def Settings( **kwargs ): if not os.path.exists(PATH_TO_LOMBOK): @@ -15,6 +15,6 @@ def Settings( **kwargs ): 'jvm_args': [ '-javaagent:' + PATH_TO_LOMBOK, '-Xbootclasspath/a:' + PATH_TO_LOMBOK - ] + jdtls_args + ] } } diff --git a/vim/.vimrc b/vim/.vimrc index e1cf6f5..26b593c 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -29,6 +29,8 @@ nnoremap K :YcmCompleter GetDoc nnoremap :YcmCompleter FixIt noremap gN :Lex +nnoremap yp :let @+=expand('%') .. '#' .. line('.') + nnoremap :Make nnoremap :Make run