mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -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
|
# Clear the GPG agent
|
||||||
alias clear-gpg-agent="echo RELOADAGENT | gpg-connect-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
|
||||||
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"
|
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...
|
" Currently only works on debian-based systems...
|
||||||
" It also does not play nicely with virtual envs, so we skip it then
|
" It also does not play nicely with virtual envs, so we skip it then
|
||||||
if isdirectory("/usr/share/vim-youcompleteme") && empty($VIRTUAL_ENV)
|
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
|
set runtimepath+=/usr/share/vim-youcompleteme
|
||||||
|
endif
|
||||||
|
let g:ycm_autoclose_preview_window_after_insertion=1
|
||||||
" Add rust settings
|
" Add rust settings
|
||||||
let g:tmp_rust_path=trim(system("rustc --print sysroot"))
|
let g:tmp_rust_path=trim(system("rustc --print sysroot"))
|
||||||
if isdirectory(g:tmp_rust_path)
|
if isdirectory(g:tmp_rust_path)
|
||||||
let g:ycm_rust_toolchain_root=g:tmp_rust_path
|
let g:ycm_rust_toolchain_root=g:tmp_rust_path
|
||||||
endif
|
endif
|
||||||
unlet! g:tmp_rust_path
|
unlet! g:tmp_rust_path
|
||||||
endif
|
|
||||||
|
|
||||||
" Enable vim-bracketed-paste mode
|
" Enable vim-bracketed-paste mode
|
||||||
" From
|
" From
|
||||||
|
|||||||
Reference in New Issue
Block a user