Feature #49
"focus" in form filler
| Status: | New | Start: | November 19, 2025 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assigned to: | Pawel Tomak | % Done: | 0% |
|
| Category: | - | Spent time: | - | |
| Target version: | - |
Description
Let's imagine login form for something like bank account, nuclear weapon control center or any site important enough that I don't want to store passwords in plain text. In such cases I use formfiller to store login name only and I fill password manually. So it would be very convinient if formfiller focused password box and switched luakit to INSERT mode in such cases. It may be implemented as an optional parameter for input element in form file.
History
Updated by qwerty boy 3 months ago
To get into insert mode automatically after formfilling, change the bind in lib/formfiller.lua from:
buf("^zl", function (w) w:formfiller("load") end),
to:
buf("^zl", function (w) w:formfiller("load") w:set_mode("insert") end),
As for the focus, I guess the form filling function could support some kind of focus notation, so you can mark the field you want to focus.