| ▲ | xedrac 5 hours ago |
| You sound like you would prefer Emacs over Vim. |
|
| ▲ | dantillberg 5 hours ago | parent | next [-] |
| Emacs key sequences are similarly stateful, and GP may hate that just as much, even if the state is temporary. For my part, in emacs I would often try ctrl-x-s to save, but miss the x. When I repeat the attempt, emacs register the complete but unknown key sequence ctrl-s-x followed by the start of a new key sequence with ctrl-s. I consider this similarly stateful because the behavior of "ctrl-s" changes entirely depending on what keystroke (if any) preceded it. |
| |
| ▲ | jerf 5 hours ago | parent [-] | | I don't like that aspect of emacs, but if you are a heavy-duty editor user it becomes difficult to arrange a consistent set of emacs shortcuts that aren't modal that don't conflict with anything else, because there's so many things you might want to do and so many pre-existing keyboard shortcuts that you can conflict with, not just in emacs but in your window manager. As a simple for-instance, I've got four or five keyboard shortcuts I added in the last year for dealing with the Claude windows in emacs that I've been using (the package defines a couple dozen, it's just about five I use a lot), and I didn't even try to figure out how to make them anything other than "C-c c $something" because it's hard to find somewhere they can go in any sort of pattern that makes any sense and doesn't conflict with anything. Fortunately most Unix window managers seem to leave the Windows key alone, but of course if I try to bring that to Windows it would fail miserably. I did remap my heaviest hitters a long time ago to single strokes, though. Most notably, start macro, end macro, and replay macro all got coveted non-modal shortcuts. |
|
|
| ▲ | packetlost 5 hours ago | parent | prev [-] |
| 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. |
| |
| ▲ | chuckadams 4 hours ago | parent | next [-] | | Whereas 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 4 hours ago | parent | next [-] | | Honestly, 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. | | | |
| ▲ | JadeNB 3 hours ago | parent | prev [-] | | > 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. | | |
| ▲ | JdeBP 2 hours ago | parent | next [-] | | Actually, there are a number of full-screen editors that pre-dated vi. They were for mainframe operating systems, or were confined to some university or other, or were commercial products for something like CP/M made by some tiny company somewhere, and are largely forgotten; with the last magtapes or floppy discs that had copies of them long since thrown away. Unix and vi, and what escaped UCB, got remembered. But there was other stuff around. | | |
| ▲ | JadeNB 2 hours ago | parent [-] | | Certainly! I was intentionally hedging my bets with 'most' in "for most values of 'every other editor out there.'" I'd still argue that, for very large values of 'most,' most editors in widespread use today came after vi. |
| |
| ▲ | chuckadams 2 hours ago | parent | prev [-] | | For 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. |
|
| |
| ▲ | allarm 5 hours ago | parent | prev [-] | | I have the same feeling and I use evil-mode in Emacs because of that. It's basically Vim inside of Emacs. | | |
| ▲ | packetlost 4 hours ago | parent [-] | | I tried evil-mode for awhile, but it had too many edge cases that behave differently so I went back /shrug |
|
|