Replies: 2 comments 2 replies
-
Part 1A Proof of Concept using
|
Beta Was this translation helpful? Give feedback.
-
Part 2Work in ProgressHere's my current work in progress. What works with no problems:
These two modes only bind Where I have problems is with the new dashboard-mode which binds more keys than just
The bindings that were broken to varying degrees are:
"g" is a problem because in "r" and "s" are problematic, because the vi commands that they are normally bound to want parameters, and I have no idea what to pass to them. vi-replace-char wants 4 parameters and vi-substitute wants 3 parameters. I don't know how to get that info from Lem so that I can pass them along. I commented "r" and "s" out, because they make vi-mode unusable when you're outside of dashboard-mode. Those who want to try anyway can uncomment the lines where those keys get bound and then Help meI need someone who knows Lem internals better to advise me at this point. I also barely know any Common Lisp, and I'm learning as I go. If I'm doing something very wrong, let me know. |
Beta Was this translation helpful? Give feedback.
-
Known Trouble Spots
The common theme is that you have to be in vi-mode's insert mode to get access to the functionality of these modes. This feels very awkward from a vi-mode user's perspective. We should be able to make use of these modes from vi-mode's normal mode too.
Attempt at a Fix
The following is a naive attempt to make the
color-theme-selector
work while using vi-mode in normal mode. I know it's going to fail, but humor me.While this may make things work in
color-theme-selector
, it makes no sense infiler
. Forfiler
, I'd want something like:How do I configure things so that the appropriate function gets run when
Return
is hit depending on the current mode?Does something like evil-collection need to exist for lem or is there a better way forward?
Beta Was this translation helpful? Give feedback.
All reactions