3 ms·
Vim might be hard, but besides jokes about "how to quit it", it makes much more sense than Emacs. Emacs key combinations are weird. Discoverability is low. Eve
by raverbashing 7y ago
Vim might be hard, but besides jokes about "how to quit it", it makes much more sense than Emacs.
Emacs key combinations are weird. Discoverability is low. Even Vim will now tell you how to quit if you Ctrl-C it.
Meanwhile I have opened Emacs and I'm trying to quit it (spoiler: Ctrl-x Ctrl-c). Some things are actually interesting and it tries to help at first but then it goes back quickly into emacs-babble that doesn't help much.
The case for vim is simple: a quick editing of a file when you might not have a window manager up or on a terminal.
I don't see many reasons to learn Emacs when VSC, Atom or other editors exist.
- chairfield 7y ago> The case for vim is simple: a quick editing of a file when you might not have a window manager up or on a terminal. That, and the power of its keybindings. > I don't see many reasons to learn Emacs when VSC, Atom or other editors exist. I think evil-mode, org-mode, dired, and magit, make a pretty compelling case for Emacs to fit into many programmer's workflows, even if it doesn't displace their code editor or IDE outright. Though even setting up just those packages requires quite a bit of configuration.
- fhennig 7y ago> Vim might be hard, but [...] it makes much more sense than Emacs. Counter-point: I think emacs makes much more sense. If you start it, you can navigate a file by clicking in places. It is a GUI application, whereas I think vim is just a terminal program by default? Emacs has a little built in tutorial (Ctrl+h t) and is quite discoverable (type Ctrl+h ? and it shows you a lot of commands you can use to find out about what functions a chord invokes or how to invoke a function with a key cord). With helm you just type a part of a function and it gives you a list of suggestions. Within programming languages I think auto-completion is a must-have for discoverability. Otherwise I have to constantly look up stuff in the documentation. And for that company-mode is really nice, I don't know about the vim side of it but I think something like that goes against the philosophy of vim as I understand it? To me, modal editing didn't make much sense in the beginning and for emacs the learning curve seemed less steep, so that's what I went with in the end. But clearly it must be good somehow, because so many people use and love vim! It's just not for me I guess.
- raverbashing 7y agoYes, in the XEmacs case it is the case, not necessarily when you're using it like VIM (There are gui versions of VIM as well but it feels weird)
- rb808 7y agovim sucks too but its ubiquitous from smallest container build to IoT device.
- catalogia 7y agoYou're confusing vim with vi. On an IoT device I'd expect to find busybox's vi implementation. Definitely not vim. Ditto for containers, either a vi implementation instead of vim, or "vim-minimal" at the most. Not a full vim install.
- rataata_jr 7y agoDiscoverability shoots up really higher than Vim or any tool when you use helm's M-x. Also there is documentaion for literally all the key bindings and all the functions. You can access the code for all the functions. Emacs is much more user friendly than Vim.