diff --git a/vimrc b/vimrc index 98fd3ec..8dd2813 100644 --- a/vimrc +++ b/vimrc @@ -80,7 +80,7 @@ endif " Colour scheme: packadd! gruvbox let g:gruvbox_contrast_dark='medium' -let g:gruvbox_contrast_light='medium' +let g:gruvbox_contrast_light='soft' let g:gruvbox_improved_strings=1 let g:gruvbox_improved_warnings=1 let g:gruvbox_vert_split='bg2' @@ -244,7 +244,7 @@ packadd! echodoc.vim " ALE configuration: nmap [L (ale_first) -nmap ]L (ale_last) nmap [e (ale_previous_wrap_error) nmap ]e (ale_next_wrap_error) nmap [w (ale_previous_wrap) @@ -281,12 +281,14 @@ let g:ale_rust_analyzer_config = { \ 'checkOnSave': { 'command': 'clippy', 'enable': v:true }, \ } let g:ale_go_goimports_options = '-local github.com/sensiblecodeio/cantabular' -let g:ale_go_gopls_init_options = {'ui.diagnostic.analyses': { - \ 'composites': v:false, - \ 'unusedparams': v:true, - \ 'unusedresult': v:true, - \ 'shadow': v:true, - \ }} +let g:ale_go_gopls_init_options = { + \ 'ui.diagnostic.analyses': { + \ 'composites': v:false, + \ 'unusedparams': v:true, + \ 'unusedresult': v:true, + \ 'shadow': v:true, + \ }, + \ 'staticcheck': v:true} " let g:ale_command_wrapper = 'nice -n5' let g:ale_completion_enabled = 0 let g:ale_close_preview_on_insert = 1 diff --git a/zshrc b/zshrc index 56497d5..68852a4 100644 --- a/zshrc +++ b/zshrc @@ -127,6 +127,8 @@ git config --global alias.st status git config --global alias.br branch # Other aliases +alias c.="cd .." +alias c-="cd -" alias ll="exa -l --group-directories-first --git" alias sysc="systemctl" alias hib="sudo systemctl hibernate"