8 ms·
I've just played a bit with it, and it looks really good. What would rock is an Evil-like implementation on top of Emacs...
by tincholio 8y ago
I've just played a bit with it, and it looks really good. What would rock is an Evil-like implementation on top of Emacs...
- TeMPOraL 8y agoI recall someone in /r/Emacs pointing out that Emacs keybindings already implement Kakoune's "object then verb" philosophy. For instance, to delete text from current position until next occurrence of a letter z, you'd do C-SPC C-s z RET C-w [0]. C-SPC C-s z RET is the object part (C-SPC - start selection (but see [0]), C-s - start incremental search, z - find next z, RET - confirm you found what you were looking for). C-w is the verb part - cut region. If you want to cut until the n-th occurrence of z, just press C-s a few times after entering z. -- [0] - C-s z RET C-w, if you're not using transient-mark-mode, aka. a visually marked, explicit selection common to most editors. With transient-mark-mode disabled, there is always a region between mark and point, and after accepting a search with RET, C-s drops a mark at the place you were when you started the search. transient-mark-mode is active by default (probably to reduce learning curve); working without it is weird at first, but also rewarding in terms of efficiency.
- xrd 8y agoThank you for this!