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
If you don't introduce multiple-cursors, iedit, etc, basically you have two Emacs built-in ways to edit multiple places at the same time: query-replace and kmacro. Kmacro is a little hard for beginners but it can be considered as a 100% use cases covered solution and it's built-in. Meow will embrace kmacro since Meow is designed to have tight integration with vanilla Emacs.
Meow provides two commands work with kmacro: meow-kmacro-lines and meow-kmacro-matches. They respect the important design principle:
A kmacro could be defined at any position, and can apply to here and there. That means we have to leave kmacro what it is, there's no "kmacro+", no addition states, no magic Do-What-I-Mean commands.
These two commands simplify how kmacro is called, instead of you define a kmacro call it N times, you call kmacro for lines in a region or matches with regexp. However, the functionality of these two commands are pretty limited.
You can't call kmacro at a fixed column number in a range
You can't call kmacro for every 3 lines in a range
The state(have a selection or not) when you start recording kmacro affect how it works.
meow-kmacro-matches need to work with narrow-to-region, if you want to specify a range
more...
The Ideas
TBD
The Solution
TBD
The text was updated successfully, but these errors were encountered:
The Problem
If you don't introduce multiple-cursors, iedit, etc, basically you have two Emacs built-in ways to edit multiple places at the same time: query-replace and kmacro. Kmacro is a little hard for beginners but it can be considered as a 100% use cases covered solution and it's built-in. Meow will embrace kmacro since Meow is designed to have tight integration with vanilla Emacs.
Meow provides two commands work with kmacro:
meow-kmacro-lines
andmeow-kmacro-matches
. They respect the important design principle:These two commands simplify how kmacro is called, instead of you define a kmacro call it N times, you call kmacro for lines in a region or matches with regexp. However, the functionality of these two commands are pretty limited.
meow-kmacro-matches
need to work withnarrow-to-region
, if you want to specify a rangeThe Ideas
TBD
The Solution
TBD
The text was updated successfully, but these errors were encountered: