-
Notifications
You must be signed in to change notification settings - Fork 130
Consider adding lisp state and repeat counts to Clojure structural editing #185
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem
I am really enjoying @jr0cket's contribution of Clojure support in #154. It is almost like being in Spacemacs!
Two things that I really miss are:
- The concept of entering a
lisp state. If you are not familiar withlisp statein Spacemacs, what happens is, afterSPC k(which translates to, kunder Clojure mode for VSpaceCode), the cursor becomes a pink block. While inlisp state, you issue structural editing commands without entering theSPC kprefix. - Supporting repeat counts for structural editing commands. This is exactly like entering a number before a vim command, for example
10 d dto delete 10 lines. For structural editing, this would be, k 3 sto slurp three times. Or if already inlisp state,3 sto slurp three times.
And a third thing that I kinda miss is:
- some structural editing key bindings (maybe yank and some portions of delete).
Solution
I'd like to explore implementing items 1 and 2 above, but am unsure where to start.
Item 3 is, I think, technically simpler and can be explored after 1 and 2.
I am happy to explore implementing this feature and, if technically viable, submitting a PR, but would need some hints as to how to approach items 1 and 2.
Alternatives
None considered at this time.
Additional context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request