TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

From Vim to Emacs in fourteen days (2015)

170 pointsby Assossaabout 4 years ago

31 comments

dangabout 4 years ago
Just for fun, here are some of the larger past threads. Others?<p><i>After over a decade of Vim, I’m hooked on Emacs</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=16551796" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=16551796</a> - March 2018 (161 comments)<p><i>A pragmatic decision on GNU Emacs versus Vim for programming</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=13590944" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=13590944</a> - Feb 2017 (59 comments)<p><i>Why I switched from Vim to Emacs</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=13130775" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=13130775</a> - Dec 2016 (101 comments)<p><i>From Vim to Emacs</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8367384" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8367384</a> - Sept 2014 (116 comments)<p><i>Emacs and Vim</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8084359" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8084359</a> - July 2014 (275 comments)<p><i>Vi and Vim vs. Emacs Shootout and Deal</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=3205828" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=3205828</a> - Nov 2011 (52 comments)<p><i>Some thoughts on Emacs and Vim</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=2229040" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=2229040</a> - Feb 2011 (40 comments)<p><i>How a Vim user converts to Emacs</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=2036586" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=2036586</a> - Dec 2010 (66 comments)<p><i>On vim vs emacs</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=1374916" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=1374916</a> - May 2010 (28 comments)<p><i>Debian&#x27;s Vim maintainer switches to Emacs</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=341492" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=341492</a> - Oct 2008 (32 comments)
评论 #26429565 未加载
评论 #26432106 未加载
salmoabout 4 years ago
In college I used Emacs, because I had a romance with lisps and just really enjoyed extending stuff. Also used Sawfish as my window manager, etc. The modal thing in vi(m) was hard for me to wrap my head around and the bizarre config of vim seemed so inelegant.<p>But when I got a gig as a sysadmin running a few thousand servers w&#x2F; a slew of Unixes (Solaris, BSD, HP-UX, Linux) I finally bit the bullet and learned vi, because it was the only common denominator (oh, man and ksh88 because so many bash-es were so broken on those platforms).<p>Now I find modal editing very natural and productive and don&#x27;t miss the keyboard gymnastics of emacs. I find I get pissed at every text editor that isn&#x27;t vi. Outlook, this text box, etc.<p>I use IntelliJ (and do Python and Go in it) with vi binding for large long-lived projects and just vim&#x2F;neovim in a terminal for scripts, short-lived stuff, and quick edits. The bindings in IntelliJ are good enough, although sometimes I forget and try to do things, like run a file through awk.<p>I play with using VSCode with vi bindings from time to time, but honestly just forget to use it much.<p>I have a smallish vim config with a handful of plugins, mostly for linting. I&#x27;m comfortable with it and haven&#x27;t ever really found it lacking. And I don&#x27;t feel the need to maintain a codebase for my config like I enjoyed doing in college. I guess I garden in my garden vs my config files and am not so focused on some kind of concept of purity. Heck, I think I have the default background on my mac.
评论 #26430356 未加载
评论 #26430396 未加载
评论 #26431699 未加载
andrewzahabout 4 years ago
This article fails to explain -why- one would want to switch to emacs from vim.<p>Org-mode and configuring emacs in a lisp-like are cool, but are not worth re-learning everything for me. I put that time in already by reading &quot;Practical Vim&quot; by Drew Neil and other vim literature online. I&#x27;m sure everyone is already aware, but vi is available basically everywhere. This has saved my ass at least twice where I couldn&#x27;t access vim or had internet access to install XYZ editor.<p>So as a power vim user I see no reason to switch. If I can&#x27;t use vim, most editors now have support for reasonable vim bindings. So I use that for Jetbrains&#x27; products &#x2F; Joplin &#x2F; Insomnia &#x2F; etc.
评论 #26430029 未加载
评论 #26430201 未加载
评论 #26429655 未加载
评论 #26430035 未加载
评论 #26429996 未加载
评论 #26430384 未加载
评论 #26429469 未加载
评论 #26430104 未加载
评论 #26430254 未加载
drums8787about 4 years ago
I went in the other direction about 5 years ago after 20 years of always installing Emacs on every computer I ever used. Vim has had a much bigger impact on my productivity.<p>Partly because of excellent plugins (VSCode, Visual Studio), partly because, for some reason I bothered to learn Vim shortcuts to degree I never did with Emacs. And I just love that vi and vim is quick and available on my various cloud servers.<p>Once in a while I toy with the idea of going back and using evil mode (I keep reading about org mode).
评论 #26433732 未加载
评论 #26431580 未加载
评论 #26430685 未加载
gsprabout 4 years ago
Tangentially related: I&#x27;ve used emacs for coding for a decade, and for email for a few years. I love it. But I&#x27;m missing out on its arguably strongest feature: elisp! My config file is a tragedy of stuff I hamfistedly cobbled together. I&#x27;d like to learn this skill properly, and thus conquer the world (I assume this makes me able to).<p>Can anyone recommend a resource? I speak some C-like languages, and Python and Haskell, but no LISP at all. I&#x27;m an emacs <i>user</i>, but have only superficial knowledge of how emacs actually works.
评论 #26455514 未加载
评论 #26455631 未加载
loloquwowndueoabout 4 years ago
It probably took me longer than 14 days to learn vim after using emacs for years, it was worth it - mainly and specifically I switched because vim’s modal nature means fewer finger contortions to reach 6 modifier keys simultaneously as required with emacs - that was giving me RSI symptoms. I’ve been happy with vim since and it tends to be more easily available in remote systems. To each their own though - both editors are ok :)
hirundoabout 4 years ago
&gt; If, like me, you’re curious enough to give Emacs a try...<p>So curiosity rather than conversion. Six year later is he still using Emacs? Went back to Vim? Moved on to something else?<p>I have enough years invested in muscle memory of Vim itself and various plugins that what curiosity I have about Emacs is well controlled. I doubt I have runway left to get to the same productivity in another editor.
评论 #26429225 未加载
评论 #26429165 未加载
评论 #26429226 未加载
评论 #26431600 未加载
sigmonsaysabout 4 years ago
I went from vim to emacs for development in go and python. I Went with doom emacs, which is a configuration distribution already prebuilt which is friendly to vimm users (ie, evil mode). It was rough at first, required writing lots of cheat sheets and also changing workflows a little. I feel much more productive in emacs than vim. IMHO, its more straightforward to google &quot;How to do X in emacs&quot; than &quot;how to do X in vim&quot; and actually end up with a productive configuration change.
maximilianroosabout 4 years ago
For those who use Vim bindings, and would like to try out emacs, I&#x27;d suggest trying Spacemacs:<p><a href="https:&#x2F;&#x2F;www.spacemacs.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.spacemacs.org&#x2F;</a><p>It has &quot;evil mode&quot; by default — the vim bindings.<p>I picked this up at Jane Street, where much of the internal tooling is in emacs. I still use it wherever I can&#x27;t get a good vscode setup, and it has some advantages over vscode.
评论 #26430362 未加载
jhbadgerabout 4 years ago
Am I the only person who uses Lem? An Emacs-clone written and extended in Common Lisp rather than the weird version of Lisp Emacs uses.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;lem-project&#x2F;lem" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;lem-project&#x2F;lem</a>
评论 #26440799 未加载
bogwogabout 4 years ago
Vim is my go-to terminal-based text editor, and I used it for a decent amount of time, but when I finally decided to switch to something like Sublime Text, I never felt the need to go back.<p>Maybe it&#x27;s because I&#x27;m not a &quot;touch typist&quot; who uses a home row and all that stuff, so the keybindings optimized for that don&#x27;t really help me that much.<p>I do like Vim though, and it&#x27;s an insanely useful skill to have because I can SSH into any server and edit config files like if I were straight up programming.
评论 #26429648 未加载
dfoxabout 4 years ago
Well I&#x27;m long time emacs user who switche to emacs from vi(m) in essentially the time it took to go through the C-h t tutorial.<p>While today I dont&#x27;t use Emacs as the day-to-day editor (I use VSCode, for a bunch of not entirely good reasons that mostly have to do with macOS) I think that exposing people new to unix to emacs&#x2F;zile makes more sense than to vi(m). And then there is the &quot;every mac textfield understands default emacs key bindings&quot; effect...
monoideismabout 4 years ago
I&#x27;ve tried to get into emacs, VS Code, and Sublime (all w&#x2F;Vi keybindings, of course), but I always seem to find myself back in Vim (or Neovim).
afarviralabout 4 years ago
I want to love emacs with default bindings but find them unergonomic to the extreme. However I think VIMs bindings and multimodal text editing is a false economy, so I don&#x27;t want to just use evil-mode (spacemacs or DOOM). In other IDEs and OSs there is a consistent scheme for copy, paste, undo, redo but no consistent scheme for new-line-above&#x2F;below or movement near the home row keys using modifiers. I&#x27;ve been experimenting with alt+[some homerow keys] for movement and left-hand w&#x2F;modifiers for changes similar to ergoemacs, in vscode. The realisation I&#x27;ve had is that there is an absence of standardized keybindings for text editing across IDEs&#x2F;editors and the complexity and lack of interoperability rolling-your-own make that approach universally avoided. This means we are in a rut going back and forth between emacs and vim and OS keybindings, and the editor wars are just a symptom of a greater problem. The real issue is that there is not enough R&amp;D on efficiency and human-oriented design and&#x2F;or this hasn&#x27;t influenced current standards to a great enough degree. Aside from in a terminal I&#x27;m not convinced (if timed&#x2F;tested) the average coder using the mouse heavily with left-hand shortcuts would be any less capable than a vim guru. Accuracy with a mouse is something that can be improved too, just look at competitive FPS games. I&#x27;d also posit the mouse coder spent more time learning coding and less time fiddling with his tools.<p>Does anyone know where I could find more info about this stuff?<p>Does anyone know of any research comparing the efficiency&#x2F;speed&#x2F;stress of VIM users to, say, VS Code keybindings or emacs ones?<p>I am a productive vim user already and have just learned standard emacs bindings and ergoemacs bindings within a few hours. This is not a matter of a vim-naiive person avoiding learning the tool. I do have a preoccupation with tools rather than getting stuff done with them... That&#x27;s our curse isn&#x27;t it?
iLemmingabout 4 years ago
Here we go again. Vim vs. Emacs. A decades-old argument that actually doesn&#x27;t have any merits.<p>Because Vim and Emacs are two distinct categories. The only thing that makes them similar is that they are both based on something. That something is an idea. And not just an ordinary, everyday concept, but an influential, holy grail type of thing.<p>Vi and the concept of the modality is an incredible, powerful, fantastic model. People who never hardheartedly tried to learn Vi-model just don&#x27;t get to say anything about it. Can you respect an opinion about CRISPR coming from someone who has no clue about polynucleotide chains and DNA?<p>Yes, Vim is not overly intuitive for a complete beginner. Like many, perhaps most awesome tools, it too has a certain level of sophistication. You cannot enter the Suez or Panama Canal gates&#x27; control room and suggest removing all those knobs, switches, buttons, etc., and instead, install one colossal touch screen because that would be &quot;a much more intuitive interface&quot;.<p>Vim is hard to learn, but you see, there&#x27;s usually a strong correlation between something that&#x27;s not so easy to acquire and simplicity gained later. Conversely, things that are easy to pick up, very often later become cumbersome and annoyingly counter-productive. Rich Hickey&#x27;s &quot;Simple Made Easy&quot; rhetoric very nicely manifests that.<p>So yes, Vi-model is an incredible idea. Vim, Neovim, Evil, etc., are just implementations of that idea.<p>Now, Emacs is based on another mind-blowing idea. The idea of practical notation for lambda calculus, what is known as Lisp. Lisp, probably can be crowned as the most important idea in computer science. It&#x27;s just hard to think of something more influential than Lisp. Emacs is just a practical implementation (and frankly, not the best one) of that idea.<p>Arguing what&#x27;s better - Emacs or Vim is like debating what was more important in the history of health care - the invention of anesthesia or discovery of penicillin.<p>Both Vim and Emacs are awesome, and one is not better than another. If you can&#x27;t see that - then probably there&#x27;s a big hole in your understanding of at least one of the ideas they are based on.
aruncabout 4 years ago
20 years of vim user here. I learnt Emacs for just one thing. Magit!<p>Except that I don&#x27;t have any other use for Emacs.
jhchabranabout 4 years ago
If anyone wants to give a try, it&#x27;s worth noting a few things if you come from vim:<p>- if you are on osx, you&#x27;ll may find the gui rendering quite laggy if you are using a Retina display. Using the terminal will make it snappy again. Using something like Alacritty will make it even snappier if you&#x27;re sensitive to it.<p>- if you are on linux and use the gui, the pgtk branch is worth giving a try, it drops the old extremely outdated Xt code<p>- LSP can be quite resource hungry, it&#x27;s really worth giving a try to the nativecomp branch of emacs 28. <a href="https:&#x2F;&#x2F;www.emacswiki.org&#x2F;emacs&#x2F;GccEmacs" rel="nofollow">https:&#x2F;&#x2F;www.emacswiki.org&#x2F;emacs&#x2F;GccEmacs</a>
mkl95about 4 years ago
I have been using Emacs for several years now, I love how easy it makes it to quickly browse and edit code. The only downside is that coding without Emacs keybindings makes me uncomfortable and kind of sloppy. Fortunately most IDEs have an Emacs plugin.
da39a3eeabout 4 years ago
I love emacs as a lisp environment to work in and have used it for 20 years but the emacs LSP picture is starting to look seriously sketchy in comparison with what more language-specific IDEs such as VSCode and PyCharm etc offer. Especially now that static typing is becoming standard in languages like Python and Javascript. If you have a lot of spare time you can probably make eglot and lsp-mode work in your favorite language. But if you work in a few languages, you sort of need to be working part time and have no family or social commitments.
评论 #26438812 未加载
评论 #26435613 未加载
mrbonnerabout 4 years ago
Does it feel weird that you have to enable Evil mode to use emacs? I have been using Vim for most my life and switched to emacs last years. I am using vanilla version with lots of plugins of course.
评论 #26431876 未加载
mjflabout 4 years ago
I started with emacs and never learned vim. What am I missing?
评论 #26429390 未加载
评论 #26429297 未加载
评论 #26429520 未加载
评论 #26429948 未加载
评论 #26429306 未加载
评论 #26429470 未加载
评论 #26455689 未加载
评论 #26429699 未加载
评论 #26429367 未加载
yudlejozaabout 4 years ago
If you switched from vim to evil-on-emacs, you didn&#x27;t really switch to emacs. You switched to something akin to a best-of-both-worlds.
tyingqabout 4 years ago
<i>&quot;Finally, install evil-mode, the Vim emulation package for Emacs&quot;</i><p>Anyone use this regularly? Does it kill off some of the upside of emacs?
评论 #26429317 未加载
评论 #26429199 未加载
评论 #26429241 未加载
评论 #26429552 未加载
hannofcartabout 4 years ago
Recently, I too tried making the switch from vim to Emacs via the Spacemacs route. The effort didn&#x27;t last long. I found that Spacemacs, without installing any extra &quot;layers&quot; than what comes out of the box, consumes too much RAM. Over 1GB of it. Don&#x27;t know if this was expected or if it was something specific to just my machine.
评论 #26433310 未加载
alfiedotwtfabout 4 years ago
I’m curious to hear from folks who have switched between the two, and have lasted for more than a year on both. If you’ve learned more than the basics and both became muscle memory, which did you end up sticking to?<p>(Vim user for 23 years, Emacs user of none... but interested because of Lisp)
评论 #26429818 未加载
评论 #26429398 未加载
评论 #26429635 未加载
评论 #26431871 未加载
评论 #26434741 未加载
评论 #26429611 未加载
评论 #26429324 未加载
评论 #26430227 未加载
评论 #26430156 未加载
评论 #26431642 未加载
fhuntabout 4 years ago
There are not as far apart as I thought <a href="https:&#x2F;&#x2F;trends.google.com&#x2F;trends&#x2F;explore?date=all&amp;geo=US&amp;q=vim,emacs" rel="nofollow">https:&#x2F;&#x2F;trends.google.com&#x2F;trends&#x2F;explore?date=all&amp;geo=US&amp;q=v...</a>
efiechoabout 4 years ago
Emacs is a great OS but it lacks a decent text editor.
评论 #26430163 未加载
everyabout 4 years ago
From Vim or Emacs to Nano in fourteen minutes...
keithnzabout 4 years ago
wouldn&#x27;t this just be....<p>How to go from Vim to any other Editor&#x2F;IDE and use Vim bindings ...
simonblackabout 4 years ago
What is this new-fangled Emacs??<p>WordStar ought to be enough for anybody!
评论 #26431608 未加载
squid_demonabout 4 years ago
Probably took 12 of those 14 days to just get Emacs loaded. Just saying.