You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This loops through a list of explicitly declared repeatable commands which are then "registered" for repetition in this way. This has a few drawbacks:
We need to explicitly declare commands as repeatable, so it's extra maintenance work.
If users write commands for Symex, they would need to explicitly register it for repetition in the same way.
Now that we have the new macros symex-define-command and symex-define-insertion-command (which are basically just the same function definitions as before but wrapped with logic common to all commands -- currently just tidying), we can add the registration in the macros and eliminate the need to explicitly maintain the list. User commands defined using these macros would also implicitly be repeatable.
The text was updated successfully, but these errors were encountered:
In order to mark a function as repeatable for the purposes of evil-repeat (dot), we do this in
symex-evil.el
:This loops through a list of explicitly declared repeatable commands which are then "registered" for repetition in this way. This has a few drawbacks:
Now that we have the new macros
symex-define-command
andsymex-define-insertion-command
(which are basically just the same function definitions as before but wrapped with logic common to all commands -- currently just tidying), we can add the registration in the macros and eliminate the need to explicitly maintain the list. User commands defined using these macros would also implicitly be repeatable.The text was updated successfully, but these errors were encountered: