aboutsummaryrefslogtreecommitdiff
path: root/config.lua
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-03-22 00:51:46 +0530
committerAkshay Nair <phenax5@gmail.com>2025-03-22 00:51:50 +0530
commitf09f1aa704f06472ec134b40e2f69bf3279c3f06 (patch)
treef292716c90d16ade8d31b2b2d70da8481d1e8294 /config.lua
parent498135054a168bd839f2ee8ebb1ba245d72a8f3b (diff)
downloadnull-browser-f09f1aa704f06472ec134b40e2f69bf3279c3f06.tar.gz
null-browser-f09f1aa704f06472ec134b40e2f69bf3279c3f06.zip
Add web.keymap.set + test keymaps config.lua
Diffstat (limited to 'config.lua')
-rw-r--r--config.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/config.lua b/config.lua
new file mode 100644
index 0000000..1c46da0
--- /dev/null
+++ b/config.lua
@@ -0,0 +1,16 @@
+print('hello starting up...')
+
+--- @type table
+web = web
+--- @type table
+uv = uv
+
+web.keymap.set('n', 'm', function()
+ print('Hello world. Keypress test')
+end)
+
+web.keymap.set('n', 'o', function()
+ web.tabopen('https://lite.duckduckgo.com')
+end)
+
+print('ending...')