diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-08-13 19:59:04 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-08-15 08:18:42 +0530 |
| commit | 66a9640d9c4d1101ae5cc986e4e0c86c20262f25 (patch) | |
| tree | 94d268564550bf5b5e71ee44dc368773d2770478 /init.lua | |
| parent | ec909d4211cd124a23f2ea878cc961b8b53f651a (diff) | |
| download | null-browser-66a9640d9c4d1101ae5cc986e4e0c86c20262f25.tar.gz null-browser-66a9640d9c4d1101ae5cc986e4e0c86c20262f25.zip | |
Add docs for events and event opts + document web.json
Diffstat (limited to 'init.lua')
| -rw-r--r-- | init.lua | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -165,9 +165,15 @@ end) local hints = require 'null-browser.extras.hints' hints.init() -web.keymap.set('n', 'f', function() hints.start('a[href], button', hints.action.open_in_view) end) -web.keymap.set('n', '<s-f>', function() hints.start('a[href], button', hints.action.open_in_new_view) end) -web.keymap.set('n', 'yl', function() hints.start('a[href]', hints.action.copy_link) end) +web.keymap.set('n', 'f', function() + hints.start('a[href], button, [role="button"]', hints.action.open_in_view) +end) +web.keymap.set('n', '<s-f>', function() + hints.start('a[href], button, [role="button"]', hints.action.open_in_new_view) +end) +web.keymap.set('n', 'yl', function() + hints.start('a[href]', hints.action.copy_link) +end) web.keymap.set('n', 'gi', function() local input_selectors = { 'input:not([type="hidden"])', |
