Kungsgeten / ryo-modal

Roll your own modal mode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can something like Kakoune be implemented with this

nightscape opened this issue · comments

Hi @Kungsgeten,

I just stumbled upon Kakoune and I'm quite amazed that it beats the VIM keybindings in terms of speed (required number of keypresses) and simplicity.
The main difference is that Kakoune uses an object then verb grammar whereas VIM uses verb then motion.

Now I'm wondering if implementing Kakoune-style keybindings with Ryo would be rather straight-forward or be completely opposite to the current model.
I'm not (yet) an Elisp programmer myself, so I could only tackle it in the first case...

I haven't used Kakoune, and I'm not familiar with it. The main feature seems to have multiple selections, which may be hard to do in Emacs (don't know how good multiple-cursors is in this regard).

If the idea is to first select som text, and then do something with the selected text, then ryo + selected should probably work fine.

Yes, it can! See my package kakoune.el