From a4784f9faa9a94d7411d14da113f58e54c8f82e2 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Thu, 9 Feb 2023 09:19:49 -0500 Subject: [PATCH] silent sourcing error if absent --- .config/nvim/init.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 5c397f0..d9c6fe6 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -154,4 +154,4 @@ nnoremap h :call ToggleHiddenAll() " Here leader is ";". " So ":vs ;cfz" will expand into ":vs /home//.config/zsh/.zshrc" " if typed fast without the timeout. -source ~/.config/nvim/shortcuts.vim +silent! source ~/.config/nvim/shortcuts.vim