Has it ever been considered to add a macro system to Vimium? It would be especially handy for doing repetitive tasks like going to a certain page and whatnot.
+1 for this feature
I would love to be able to write something like:
// finds second input, enters text, clicks on #button element, clicks on the "next" link
function noteAndNext(text) {
focusInput
focusInput // second input
enterText text
focus "#button"
click // submit form
goNext
}
unmap k
map k? noteAndNext($?) // typing esc k foobah enter will run the noteAndNext function with the argument "foobah"
It's a neat idea, but I haven't heard much demand for this and adding a primitive scripting solution will be a heavy addition to the code base.
+3 voting for this. I have a need to do several repetitive tasks on a web page. Being
able to record a q +
ease the pain since the system I access doesn't have a good way to do bulk operations.
Vimium makes it MUCH easier, but without a way to record the macro it's lacking in
functionality.
Writing a script for these things is secondary, but recording the macro like vim does
would be most helpful.
@TreyBlancher... Could you give a concrete use case, please?
(While on the face of it this seems like an interesting idea, I wonder whether it might be tricky in light of the amount of asynchronous processing we do.)
@smblott-github: The only use case I have is PortaSIP's administration user interface,
something you're not likely to have access to. Essentially I want this feature to work
similar to vim's macros, hit 'q' and a register letter, which begins recording. Any
vimium commands get put into the macro, until 'q' is typed again. That way, tedious
tasks could be automated.
Macros for filling out e.g. router configuration pages, or anything achievable with
vimium commands. Static pages which do not change. An editor to modify the macro and
insert e.g. pauses would be helpful too.
As it is I used a combination of Keyboard Maestro macros and vimium to do what I want,
but it's rather clunky (and I don't want to rely on Keyboard Maestro anymore).
+1 for this feature as TreyBlancher put it
+1 for this, I have to make lots of repetitive changes while setting permissions! I also have to wait for pages to load - so it would be super cool to have a "real time" feature that (when enabled) waits before pushing the next key for as long as you did during macro creation. In the mean time, I wonder if it would be possible to do jerry-rig something with autokey.. I'll update this if I figure it out!
Still very much requested feature in 2020
Most helpful comment
+1 for this, I have to make lots of repetitive changes while setting permissions! I also have to wait for pages to load - so it would be super cool to have a "real time" feature that (when enabled) waits before pushing the next key for as long as you did during macro creation. In the mean time, I wonder if it would be possible to do jerry-rig something with autokey.. I'll update this if I figure it out!