jmorag / kakoune.el

A very simple simulation of the kakoune editor inside of emacs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix interaction between kak/replace-char, kak/select-to-char, and multiple cursors

jmorag opened this issue · comments

See the README. These commands prompt for input once per cursor instead of just once.

The interactive forms should apparantly use read-char to work with multiple-cursors:

(interactive (list (prefix-numeric-value current-prefix-arg)
                   (read-char "Zap to char: " t)))

https://emacs.stackexchange.com/questions/18716/why-does-multiple-cursors-use-the-same-char-for-all-cursors-with-zap-to-char-but