0

refill-mode refills automatically if I type certain characters, e.g. space. However, I want to do that at every character I type. Apparently, there is a maniac-mode written by Per Abrahamsson (maniac.el) that does this, but it has vanished from the net. Moreover, the set of triggering characters does not seem to be configurable. How can this be achieved nevertheless?

1
  • 1
    (You really want to do this?) Maybe advise function self-insert-command. That assumes you want it to happen only when you insert a char. If you want it to happen on each action (command/key) then maybe use post-command-hook. – Drew Oct 19 '20 at 4:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.