Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of Learning the vi and Vim Editors

    Learning the vi and Vim Editors

    Arnold Robbins, Elbert Hannah, Linda Lamb · 2008

    Learning the vi and Vim Editors is a tutorial book for the vi and vim text editors written by Arnold Robbins, Elbert Hannah, and Linda Lamb and published by O'Reilly Media. The book is in its 8th edition. The book features a tarsier on the cover, an image which was also used on the cover of O'Reilly's Unix in a Nutshell and has been incorporated into O'Reilly Media. When questioned about the animal choice, publisher Tim O'Reilly described the tarsier as looking "like somebody who had been a [sic] text editor for too long."

    From Wikipedia

    ProgrammingSystems & OS
    Open LibraryAmazon
    Stats for nerds
    4recommend
    7mentions
    6people
    2012–2026years
    71% recommend29% neutral

    Mentions per year

    20122014201620182020202220242026

    What Hacker News says

    1. atrettelFeb 2025
      > My experience with modality is that almost every time I want to do something I'm in the wrong mode.

      The key is to almost always be in command mode. I am only in insert mode briefly to add or change text. The power of Vim comes from its terse command language, so you want to be in command mode most of the time. I find myself reflexively hitting Esc or Ctrl-[ in other programs because I have drilled this into my mind.

      > I just can't see where this "efficiency" is supposed to be at all.

      I did not see the efficiency myself until I witnessed a Vim master do some extremely complicated bit of text editing in seconds. I think that most people will not see the value of Vim until they witness something like that.

      > If you tell me I'm supposed to spend 4 weeks reading VimTutor to gain efficiency in Vim, I could probably become more efficient faster in VS Code by learning all of its keyboard shortcuts. Btw Ctrl+/ comments the current line.

      I personally found Vimtutor boring, if I recall correctly, so I did not use it to learn Vim. I just started to use Vim for all of my coding for several weeks during a slow period at work. I had a printout [1] with all of the keys next to my monitor for several weeks. That was necessary to get muscle memory for every action. I also read a lot of "Learning the vi and Vim Editors". That helps you get into the mindset about how to use the Vim command language. My point is that there are many ways to learn Vim and you can pick which way works best for yourself.

      [1] http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial...

      thread
    2. atrettelMay 2020
      I agree with this basic idea, though I understand why some people have a difficult time seeing it. VI and Vim are advertised as "modal" editors, but in fact they are just editors that accept a rather terse command language.

      I originally never wanted to use Vim but had to use it often at work (especially in the server room), so I got used to mechanically entering and exiting insert mode as many people do. That was the extent of my knowledge, but then during a slow period at work I took the time to learn Vim thoroughly by reading "Learning the vi and Vim Editors" from O'Reilly. It changed my view of VI and Vim to the point that (as I had said) I now think of them as command-based editors rather than modal editors. Once you realize that each key press is a command in a very terse language, you can see the power and expressiveness of the language, but it takes some practice and time to build up your intuition.

      For example, I often find myself typing something like "79a-ESC" or "79i-ESC" to put in a horizontal rule in text or Markdown documents. To somebody thinking modally this command makes little sense, since I leave insert mode immediately after typing a single character! But from a command language perspective it makes total sense, since I merely instruct Vim to append 79 dashes to the current line. Once you see that it's a language, you stay in command "mode" much more, since that is where the power is.

      thread
    3. bchJun 2015
      Over the years, I've got a lot of mileage out of "Learning the vi and vim Editors" from O'Reilly, and web pages like http://www.lagmonster.org/docs/vi.html. Practicing and testing compositions based on what you learn from these will go a _long_ way. Try new ways to move (by screens, by sentences, by blocks), test using your buffers, experiment w/ transforms. Then, one day, you realize you're pretty good with vi.
      thread
    4. freedevbootcampApr 2015
      Thank you for taking the time to comment. You gave me some really good ideas.

      I thought maybe the agenda was kinda bloated too especially since this is just the Front End Development. If you add Back end development you would probably be looking at 2 years to complete. Luckily my bootcamp is free and you can take all the time you need and only move on to the next topic when you feel comfortable with the current topic.

      Vim - Here is what I have for vim and surprisingly enough is just enough to be proficient in vim.

      3. Learn vim a. Do vimtutor b. Read Learning the vi and Vim Editors, Seventh Edition c. Up and Running with vi d. Venture Into Vim e. OReilly - Mastering Vim f. Vim for Advanced Users g. Learning vim plugins

      Git - I use two video tutorials that will make anyone an intermediate person within 2 weeks.

      HTML - We do about 12 websites CSS - We learn almost everything about CSS. It does take about a month just to do the videos and books. Javascript - We learn it in depth with three of the top books and several videos. This is where most of the time is spent. We do not move on to JQuery until we are proficient in javascript so we do not use JQuery as a crutch.

      Bonus - We have the students sign up for HN, Reddit, and StackOverflow to teach them how to troubleshoot problems.

      Im running out of room here but thank you so much for your input.

      thread
    5. atsaloliJun 2012
      Please read the author's introduction: "An Introduction to Display Editing with Vi" http://www.verticalsysadmin.com/vi/vi_editor__bill_joy.pdf

      I also recommend the O'Reilly "Learning the vi and vim editors" book, http://shop.oreilly.com/product/9780596529833.do and my own course on vi basics, http://www.verticalsysadmin.com/vi.htm

      thread
    6. exviMay 2026
      i have the full version of that book, Learning the vi and Vim Editors... i still read it!
      thread

    Related

    Cover of Understanding Software
    2017–2022

    Understanding Software

    Max Kanat-Alexander
    2 recommend · 8
    Cover of Learning the vi editor
    2008–2023

    Learning the vi editor

    Linda Lamb
    4 recommend · 6
    Cover of Practical VIM
    2012–2026

    Practical VIM

    Drew Neil
    58 recommend · 95
    Cover of Modern Vim
    2017–2026

    Modern Vim

    Drew Neil
    8 recommend · 13
    Cover of Programming Pearls
    2007–2026

    Programming Pearls

    Jon Bentley
    158 recommend · 315
    Cover of Clean Code
    2008–2026

    Clean Code

    Robert C. Martin
    298 recommend · 951
    Cover of Compilers, principles, techniques, and tools
    2007–2026

    Compilers, principles, techniques, and tools

    Alfred V. Aho
    195 recommend · 958
    Cover of Beautiful Code
    2007–2025

    Beautiful Code

    Andy Oram
    48 recommend · 109