4 ms·
I mostly agree with GP on stateful controls, but emacs has never clicked for me like vim did. Perhaps it's because switching between modes feels more natural th
by packetlost 4mo ago
I mostly agree with GP on stateful controls, but emacs has never clicked for me like vim did. Perhaps it's because switching between modes feels more natural than a simple toggle.
- allarm 4mo agoI have the same feeling and I use evil-mode in Emacs because of that. It's basically Vim inside of Emacs.
- packetlost 4mo agoI tried evil-mode for awhile, but it had too many edge cases that behave differently so I went back /shrug
- hirvi74 4mo agoI have my instance set up to enable/disable evil via a keybinding. That way, the edge cases can be handled smoothly. There is also a way to configure evil so that emacs keybindings work while in Insert mode, but not in Normal or Visual mode, if that matters at all.
- allarm 4mo agoCtrl-z is the default keybinding to temporarily disable evil-mode; there's no need for a separate keybinding.
- chuckadams 4mo agoWhereas I cut my teeth on emacs in the early 90's, so modal is what felt awkward. I wouldn't dislike vim's modes so much if it just had one combination insert/append mode that worked like every other editor out there (including a couple other modal editors I've used), but even after adding various hacks to my vimrc to help unify the two modes, I still stumble over the behavior differences in other places. I really like the composable shorthand of vim's command set though, even if the only one I have in muscle memory is <esc>:wq
- packetlost 4mo agoHonestly, there are more "modern" editors with even more intuitive flows. Helix being one. I think the ideal editor for me would be something like a mix of Helix's shortcuts with structural regexp like in vis.
- deleted 4mo ago[deleted]
- xedrac 4mo agoI tried Helix for a few weeks and found it to be less efficient overall. Now granted it's hardly fair to compare 3 weeks to 20 years, so maybe with more time I might change my mind. I really missed vim's . key to repeat the last command for example. I think the learning curve for Helix is probably better than Vim, so if you haven't learned vim, it might be worth it. The other challenge though is the ubiquitous nature of vim and vim emulation.
- JadeNB 4mo ago> I wouldn't dislike vim's modes so much if it just had one combination insert/append mode that worked like every other editor out there (including a couple other modal editors I've used), but even after adding various hacks to my vimrc to help unify the two modes, I still stumble over the behavior differences in other places. To be fair, for most values of "every other editor out there," they came after vi (if not after vim), so it's not like vi was discarding existing wisdom.
- chuckadams 4mo agoFor sure, I'm saying that vi stuck with its design rather than follow the trend of other modal editors that converged on one insert mode, and so did its follow-ups like vim. I just tried out helix and I'm really liking the features like its single insert mode. Still taking some getting used to, since it's selection-first, not command-first, so `dd` just deletes two chars and not the line. And shift-V doesn't select lines... grr.
- JdeBP 4mo ago