maint(init.vim): use $XDG_CONFIG_HOME

- use `${XDG_CONFIG_HOME:-$HOME/.config}`
This commit is contained in:
vladislav doster 2025-03-29 12:24:23 -05:00 committed by GitHub
parent fdfd23a82c
commit 2e019a0f8f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -153,4 +153,4 @@ nnoremap <leader>h :call ToggleHiddenAll()<CR>
" Here leader is ";".
" So ":vs ;cfz" will expand into ":vs /home/<user>/.config/zsh/.zshrc"
" if typed fast without the timeout.
silent! source ~/.config/nvim/shortcuts.vim
silent! source ${XDG_CONFIG_HOME:-$HOME/.config}/nvim/shortcuts.vim