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