Repeated detection and execution of key operation.
Sample install code using leaf.el.
(leaf dmacro
:ensure t
:custom `((dmacro-key . ,(kbd "C-S-e")))
:global-minor-mode global-dmacro-mode)
First turn on dmacro-mode
or global-dmacro-mode
.
Then press dmacro-key
after making repeated edits.
abc abc _
^(point)
after type dmacro-key
, your buffer should be…
abc abc abc _
and type dmacro-key
, then…
abc abc abc abc _
abcdef ab_
^(point)
after type dmacro-key
, your buffer should be…
abcdef abcdef _
and type dmacro-key
, then…
abcdef abcdef abcdef _
- dmacro-key
- Key sequences for dmacro
[NOTE]: If you change this variable after
dmacro-mode
is started, you need to restartdmacro-mode
to reflect the change.
We welcome PR!
- keg
cd ~/ hub clone conao3/keg .keg export PATH="$HOME/.keg/bin:$PATH"
Below operation flow is recommended.
make # Install git-hooks in local .git
git branch [feature-branch] # Create branch named [feature-branch]
git checkout [feature-branch] # Checkout branch named [feature-branch]
# <edit loop>
emacs dmacro.el # Edit something you want
make test # Test dmacro via multi version Emacs
git commit -am "brabra" # Commit (auto-run test before commit)
# </edit loop>
hub fork # Create fork at GitHub
git push [user] [feature-branch] # Push feature-branch to your fork
hub pull-request # Create pull-request
FSFAP Copyright (c) 1993 Toshiyuki Masui https://github.com/emacs-jp/dmacro/blob/master/LICENSE