An unofficial, read-only Hacker News reader. Join the beta →

Show HN: I wrote an entire Vim manual over 4 years (opens external site)

304 points by thanato0s 1 day ago | themouseless.dev | 104 comments on HN

View full thread · View on Hacker News

Comment thread (9)

  1. You do realize that the vim keybinding is inherited from vi? And that vi is decades all and had its keybinding replicated across a lot of software. Also some of the keybindings comes from ed and ex commands. So most of your suggestions conflict with those

    Also jk is quite nice where they at. I read code more than I write it, and if its formatted for 80 columns, I rarely need to go left or right. So using my strongest fingers is quite nice.

    Then you embrace search based navigation and wider movements and you find that you rarely used hjkl other than small movements around a small area.

    Replies (2)
    1. Yes, obviously I know where it comes from. After all I already mentioned keyboard with arrows on hjkl - that's https://en.wikipedia.org/wiki/ADM-3A

      My point was to illustrate that talking younger people not experimenting or improving is a bit hypocritical when coming from vi/vim community which is comparatively speaking a fossil stuck on first draft from 1976 (designed for hardware that no longer exists) that haven't changed anything for the better because they are already used to something.

      Replies (2)
      1. You don’t reinvent your fundamentals when they work well enough. But that doesn’t stop someone from experimenting, to find their boundaries and coming up with something new. Vim has been refined from its first iteration to something that’s very powerful. And there’s a lot of plugins that expanded its power, all created via experimentation.

        You don’t have to break what’s working to create something better. Disruption is not the only way to innovation.

        Replies (1)
        1. > You don’t have to break what’s working to create something better.

          Which is an argument for non-vim users to not learn vim as that would require breaking the working workflow they have.

          Personally I would be interested in evidence-based editor. Where actions are structured and put on keyboard not by vibes, but by thoughtful consideration of actual usage. Wouldn't really increase my productuvity, especially not in new era, but it would be interesting to have if only to "feel like a hacker".

          Replies (1)
          1. Trying something new is not always breaking the working workflow either. The basics are in the sample I link in the first comment, it's just interesting to see how a tool can work differently.
      2. Frankly I'm pretty sure there are still "younger people" happy to learn stuff, even if it's about a fossil. I wanted to find some dinosaur bones when i was a child so maybe I went for the text editor instead.
        Replies (1)
        1. People learn stuff all the time. Just not necessarily same stuff you do.

          I was just raising the point that if vim users refuse to change, it's reasonable to expect people to not change to vim usage.

    2. > vi is decades all

      Completely unrelated, but I find this typo interesting.

      My suspicion is that you meant to write "old", but phonetically "all" is quite similar, and your fingers just produced the sound in your head. I'm guessing you've been touch-typing for a long time.

      It's amazing that the human brain works that way.

      Replies (1)
      1. Lol!

        Not sure what's happened there. I was writing this on my phone and I do a version of touch typing there with 2 thumbs. Sometimes I start with an idea, type some words, then stop to think more and then restart typing. When rereading (which I don't do often for HN comments) there are always weird typos and grammatical errors.

        I'm not a native speaker. I don't do translation in my head, but I have to consciously think about the idea before typing it (other than platitudes like "How are you?" and "You're welcome" which are basically O(1)). My mind dictates and I type. So the interruptions are like time glitches in my typing for another person, but was perfectly reasonable while I was doing it.

        That also reminds me when I was at school and my classmates didn't want to do practice exercises with me. I got the habit of only jotting down checkpoints when I solve problems as writing everything would have slowed me down a lot. So random formulas, figures, and numbers keep appearing with no visible links between them.