maint(init.vim): use $XDG_CONFIG_HOME (#1463)

- use `${XDG_CONFIG_HOME:-$HOME/.config}`
This commit is contained in:
vladislav doster 2025-04-11 02:08:38 -05:00 committed by GitHub
parent 2e3790a695
commit f853f1884a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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