this post was submitted on 07 Apr 2024
1 points (100.0% liked)

An Emacs framework for the stubborn martian hacker.

117 readers
4 users here now

It is a story as old as time. A stubborn, shell-dwelling, and melodramatic vimmer—envious of the features of modern text editors—spirals into despair before he succumbs to the dark side. This is his config.

This is a community for discussing Doom Emacs; an Emacs Framework for stubborn martian hackers.

Github

Discord

Reddit

founded 4 years ago
MODERATORS
 

cross-posted from: https://lemmy.world/post/14012479

To all evil-mode users, how do you work with vterm?

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?

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here