~abcdw/rde-devel

contrib: emacs-xyz: Enable vim bindings in the minibuffer. v1 APPLIED

jgart: 1
 contrib: emacs-xyz: Enable vim bindings in the minibuffer.

 1 files changed, 1 insertions(+), 0 deletions(-)
Hi,

Just following up on this patch.

I find this feature very useful for me to be able to use modal editing in the minibuffer as well.

What do you think?

Should we make it the default or add an optional argument to the feature so that users can choose whether evil-mode is enabled in the minibuffer as well or not?

all best,

jgart



          
          
          
        
      
      
        
          






<#secure method=pgpmime mode=sign>

Hi,

It might actually be a little to evil for my taste :)

Usually I exit out of M-x (and most other things) with <escape>, as I
rarely use C-g out of old habits. It would be nice to have a toggle
for this.


Best regards,
Johan Engstrand
Hi Johan,

I agree that a toggle would be nice as well. Feel free to send a patch for it.

I'm not using feature-emacs-evil anymore as I'm lately using cute fluffy modal editing that is less evil:

https://github.com/meow-edit/meow
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~abcdw/rde-devel/patches/40256/mbox | git am -3
Learn more about email & git

[PATCH] contrib: emacs-xyz: Enable vim bindings in the minibuffer. Export this patch

---

Hi,

WDYT if we enable vim bindings in the minibuffer as well? Too evil?

all best,

jgart

 src/contrib/features/emacs-xyz.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/contrib/features/emacs-xyz.scm b/src/contrib/features/emacs-xyz.scm
index 577d1bd..75cd16a 100644
--- a/src/contrib/features/emacs-xyz.scm
+++ b/src/contrib/features/emacs-xyz.scm
@@ -79,6 +79,7 @@ recommended RDE experience is to rely on Emacs default keybindings."
        (setq evil-want-integration t)
        (setq evil-want-C-u-scroll t)
        (setq evil-want-C-i-jump nil)
        (setq evil-want-minibuffer t)
        (setq evil-respect-visual-line-mode t)
        (setq evil-undo-system 'undo-fu)

-- 
2.39.2