diff options
Diffstat (limited to 'plugins/pdfview.lua')
-rw-r--r-- | plugins/pdfview.lua | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/pdfview.lua b/plugins/pdfview.lua index 199584e..56d5eba 100644 --- a/plugins/pdfview.lua +++ b/plugins/pdfview.lua @@ -3,10 +3,8 @@ local core = require "core" local command = require "core.command" local keymap = require "core.keymap" -command.add("core.docview", { - ["pdfview:show-preview"] = function() - local av = core.active_view - +command.add("core.docview!", { + ["pdfview:show-preview"] = function(av) -- User's home directory local homedir = "" |