Replies: 3 comments 3 replies
-
You don't have to use beacon for kmacros. if you want to apply the same operation to some positions, you should record the kmacro at the first position, then move your cursor to next position, call the kmacro, then repeat. There's no need to add cursors manually before you record the operation, it doesn't benefit at all. |
Beta Was this translation helpful? Give feedback.
-
My main point is that searching and adding fake cursors for all points of interest in one go and then once calling kmacro takes fewer keypresses and overhead than repeatedly calling kmacro and searching for just one point of interest at a time. I think the main reason people like multiple-cursors is not because of live preview, but because they can divide task into two big steps instead of multiple small ones and this feature would give them this ability. The main benefit of this feature over multiple-cursors would be performance because emacs uses a gap buffer and having all kmacro build-in support. |
Beta Was this translation helpful? Give feedback.
-
I had the same thoughts. My solution is to bind Alternatives to F3 and F4 include |
Beta Was this translation helpful? Give feedback.
-
Hi, my problem with beacon mode is that it is slow to deploy, because you first have to select the whole text where you want to look for things, then you have to make a secondary selection and then choose the things you want. I think it would be much faster if you could just add a fake-cursor at a point whenever you like and when you record kmacro, you would just run this kmacro once at each point with a fake-cursor. For example, I would like to meow-word, add fake cursor with meow-add-fake-cursor or something like this, meow-search, meow-add-fake-cursor, ... , record kmacro -> kmacro would start at each of fake-cursors.
Beta Was this translation helpful? Give feedback.
All reactions