mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 13:19:07 -07:00
Bump skel
This commit is contained in:
@@ -56,3 +56,6 @@ alias dfh="df -h -x tmpfs -x devtmpfs"
|
||||
|
||||
# Clear the GPG agent
|
||||
alias clear-gpg-agent="echo RELOADAGENT | gpg-connect-agent"
|
||||
|
||||
# Battery details
|
||||
alias bat-details='upower -i $(upower -e | grep battery)'
|
||||
|
||||
@@ -34,4 +34,9 @@ if [ -z "${LIBVIRT_DEFAULT_URI}" ] ; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# Got rust? (gvim, etc.)
|
||||
if test -d "${HOME}/.cargo/bin" ; then
|
||||
PATH="${PATH}:${HOME}/.cargo/bin"
|
||||
fi
|
||||
|
||||
test -f "${HOME}/.profile.local" && . "${HOME}/.profile.local"
|
||||
|
||||
@@ -154,16 +154,15 @@ nnoremap <silent> <F5> :SyntasticCheck<CR> :Errors<CR>
|
||||
" Currently only works on debian-based systems...
|
||||
" It also does not play nicely with virtual envs, so we skip it then
|
||||
if isdirectory("/usr/share/vim-youcompleteme") && empty($VIRTUAL_ENV)
|
||||
"let g:ycm_gopls_binary_path='gopls'
|
||||
let g:ycm_autoclose_preview_window_after_insertion=1
|
||||
set runtimepath+=/usr/share/vim-youcompleteme
|
||||
" Add rust settings
|
||||
let g:tmp_rust_path=trim(system("rustc --print sysroot"))
|
||||
if isdirectory(g:tmp_rust_path)
|
||||
let g:ycm_rust_toolchain_root=g:tmp_rust_path
|
||||
endif
|
||||
unlet! g:tmp_rust_path
|
||||
endif
|
||||
let g:ycm_autoclose_preview_window_after_insertion=1
|
||||
" Add rust settings
|
||||
let g:tmp_rust_path=trim(system("rustc --print sysroot"))
|
||||
if isdirectory(g:tmp_rust_path)
|
||||
let g:ycm_rust_toolchain_root=g:tmp_rust_path
|
||||
endif
|
||||
unlet! g:tmp_rust_path
|
||||
|
||||
" Enable vim-bracketed-paste mode
|
||||
" From
|
||||
|
||||
Reference in New Issue
Block a user