this post was submitted on 07 Apr 2024
9 points (80.0% liked)

Emacs

1978 readers
2 users here now

Our infinitely powerful editor.

founded 4 years ago
MODERATORS
 

As a long time Vimmer, I have recently started using Emacs out of sheer curiosity. I chose Doom Emacs as it has evil-mode enabled by default, and do not want to dive down the rabbit hole of configuring the editor from scratch (at least, not yet!).

After installing and enabling libvterm in Emacs, I am having a frustrating experience. I configured ZSH shell to use vi-mode keybindings which interferes with evil-mode whenever I press Esc or C-[.

After having searched a little, I came across a workaround to disable evil-mode when in vterm. But it is still not a smooth experience. For instance, when switching between buffers (C-w C-w).

I would like to know how others in the community tackled this problem. Is there a better solution to this problem? Or have you made peace with the aforementioned workaround? Or have you stopped using vterm entirely?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 5 months ago (8 children)

Vterm was so integral to my workflow that I finally abandoned vim and learned the default key bindings.

Totally worth it too. I got rid of so many extra packages adapting things to evil mode

[–] AusatKeyboardPremi 2 points 5 months ago* (last edited 5 months ago) (7 children)

That’s an extreme workaround. How do you feel about abandoning the vim motions? Does emacs way of moving and editing stand up to vim motions?

One of the reasons I liked vim motions is that I find it very logical to move around and edit text.

I find it weird that one has to keep holding one or two modifiers to unleash true power of Emacs. Perhaps, that’s just my bias.

load more comments (5 replies)
load more comments (5 replies)