{"id":5237,"date":"2016-05-08T15:41:00","date_gmt":"2016-05-08T19:41:00","guid":{"rendered":"http:\/\/irreal.org\/blog\/?p=5237"},"modified":"2016-05-08T15:41:33","modified_gmt":"2016-05-08T19:41:33","slug":"learning-vim-not-that-hard","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=5237","title":{"rendered":"Learning Vim: Not That Hard"},"content":{"rendered":"<p> As anyone who&#8217;s been around Irreal for awhile knows, I&#8217;m all in on Emacs. I find new uses for it and things I didn&#8217;t know it could do every day. Nonetheless, I was a Vim user for a long time and still consider it\u2014along with Emacs\u2014one of the best two editors available. For plain editing, it&#8217;s <a href=\"https:\/\/medium.com\/@mkozlows\/why-atom-cant-replace-vim-433852f4b4d1#.7xr8yamwz\">composable command set<\/a> makes it the fastest editor I know of. <\/p>\n<p> Back when I was a Vim user, and even now, I frequently hear complaints about how hard it is to learn and use. That&#8217;s just plain wrong. Modal editing <i>does<\/i> take getting used to but once you do, many consider it superior to non-modal editing. Just take a look at all the <code>evil<\/code> and <code>spacemacs<\/code> fanatics if you doubt that. <\/p>\n<p> Ben Orenstein over at <a href=\"https:\/\/robots.thoughtbot.com\/\">robots.thoughtbot.com<\/a> has an excellent <a href=\"https:\/\/robots.thoughtbot.com\/the-vim-learning-curve-is-a-myth\">rant about the putative difficulty of Vim<\/a> and puts an end to the myth. He directs new users to enter <\/p>\n<div class=\"org-src-container\">\n<pre class=\"src src-sh\">vimtutor\n<\/pre>\n<\/div>\n<p> in their shell and spend 30 minutes on the tutorial. At the end of the 30 minutes you won&#8217;t be an expert but you will be proficient. Use it for two weeks, he says, and you&#8217;ll be faster than you were with your old editor. Conclusion: it&#8217;s not that hard to learn Vim and become an expert user. <\/p>\n<p> It&#8217;s certainly easier than Emacs. After a few years of using Vim, I seldom came across anything new (other than new features that <a href=\"https:\/\/en.wikipedia.org\/wiki\/Bram_Moolenaar\">Bram<\/a> introduced) while I can&#8217;t seem to go a day without learning something new about Emacs. And, of course, <i>no one<\/i> can remember all the key sequences for Emacs while it&#8217;s pretty easy to learn them all for Vim. <\/p>\n<p> All that said, I prefer Emacs for the reasons I&#8217;ve explicated many, many times here but if what you really want is a fast editor that you can master in a reasonable amount of time, Vim is a good bet. Or better yet, have the best of both worlds and check out <code>evil<\/code> or <code>spacemacs<\/code>. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>As anyone who&#8217;s been around Irreal for awhile knows, I&#8217;m all in on Emacs. I find new uses for it and things I didn&#8217;t know it could do every day. Nonetheless, I was a Vim user for a long time &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=5237\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[18,56],"class_list":["post-5237","post","type-post","status-publish","format-standard","hentry","category-general","tag-emacs","tag-vim"],"_links":{"self":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5237"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5237\/revisions"}],"predecessor-version":[{"id":5238,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5237\/revisions\/5238"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}