aboutsummaryrefslogtreecommitdiff
path: root/config.lua
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-04-12 15:42:51 +0530
committerAkshay Nair <phenax5@gmail.com>2025-04-12 15:43:50 +0530
commit39b3e8d1e2581a47dff1f09450383df0466dac94 (patch)
treeb1c24c659f9bdcb48275ad234c1de0047a991114 /config.lua
parent80496879c86af00b74f82271282cca3efd99d0b3 (diff)
downloadnull-browser-39b3e8d1e2581a47dff1f09450383df0466dac94.tar.gz
null-browser-39b3e8d1e2581a47dff1f09450383df0466dac94.zip
Switch to using __internals for all api
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