aboutsummaryrefslogtreecommitdiff
path: root/config.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.lua b/config.lua
index 9466a20..c86a818 100644
--- a/config.lua
+++ b/config.lua
@@ -44,7 +44,7 @@ web.keymap.set('n', 'o', function()
print(web.get('new_view_url'))
dmenu.select(history.list(), { prompt = 'Open view:' }, function(err, result)
if err or not result then return end
- web.view.new(to_url(result))
+ web.view.create(to_url(result))
end)
end)
-- Open in current view