summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/nvim/config/config.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/config/config.vim b/.config/nvim/config/config.vim
index 0f2b65e..cd814c3 100644
--- a/.config/nvim/config/config.vim
+++ b/.config/nvim/config/config.vim
@@ -30,4 +30,4 @@ if &diff
endif
" pdf
-autocmd BufEnter *.pdf split | exe expandcmd("terminal firefox <afile>:p") | quit
+autocmd BufWinEnter *.pdf split | exe expandcmd("terminal firefox '<afile>:p'") | quit