Compare commits
5 Commits
ff9dc31f07
...
d20a50e347
| Author | SHA1 | Date | |
|---|---|---|---|
| d20a50e347 | |||
|
e206905123
|
|||
|
19a9c145b3
|
|||
| db3649c29e | |||
|
fce84614f9
|
@@ -13,3 +13,7 @@
|
|||||||
tool = vimdiff
|
tool = vimdiff
|
||||||
[alias]
|
[alias]
|
||||||
gone = !git branch -v | awk '/gone/ { print $1 }'
|
gone = !git branch -v | awk '/gone/ { print $1 }'
|
||||||
|
dog = log --decorate --oneline --graph
|
||||||
|
fap = fetch --all --prune
|
||||||
|
[push]
|
||||||
|
autoSetupRemote = true
|
||||||
|
|||||||
6
tmux/.config/tmux/tmux.conf
Normal file
6
tmux/.config/tmux/tmux.conf
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
set -g mouse
|
||||||
|
|
||||||
|
bind h selectp -L
|
||||||
|
bind j selectp -D
|
||||||
|
bind k selectp -U
|
||||||
|
bind l selectp -R
|
||||||
20
vim/.vim/ycm_extra_conf.py
Normal file
20
vim/.vim/ycm_extra_conf.py
Normal 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
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -26,7 +26,7 @@ let g:vimtex_view_method = 'zathura'
|
|||||||
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 <F9> :YcmCompleter FixIt<CR>
|
nnoremap <CR> :YcmCompleter FixIt<CR>
|
||||||
noremap gN :Lex<CR>
|
noremap gN :Lex<CR>
|
||||||
|
|
||||||
nnoremap <F12> :Make<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_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_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 = [
|
let g:ycm_language_server = [
|
||||||
\ {
|
\ {
|
||||||
\ 'name': 'tex',
|
\ 'name': 'tex',
|
||||||
|
|||||||
Reference in New Issue
Block a user