summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-02-28 17:56:12 +0100
committerDaniel Weipert <code@drogueronin.de>2023-10-30 09:52:23 +0100
commit5cf1ed48d192dcad30453c6bca75822c888a9e27 (patch)
tree7c4142c5ff1aced8a20a903c16ac551fda3301bd
parentbf9da48a206eed9e1bb13a6c030d88b140cfebf3 (diff)
[nvim] fix pdf opener
-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