• @[email protected]
      link
      fedilink
      English
      36 days ago

      If someone sits down to properly learn all of vim, They become this uber powerful wizard of editing on any Linux distro that exists.

      The problem is, I’ve only ever met a few people who are capable of using all of vim, I’ve been using it for 15 years and I still feel like I’m not quite worthy.

    • palordrolap
      link
      fedilink
      16 days ago

      Ctrl-/

      … and if you don’t like that horrible subversion of what a vi-user might expect to be the search feature*, there’s also Meta-G, which is slightly more similar to vi’s usage.

      You can also nano +L[,C] filename on the command line replacing L and C with respective line and column number, which I believe is a feature borrowed from vi.

      *The search feature is Ctrl-W for “where is”. Firefox users use this in the wrong window at their peril (it closes the current window). Find and replace is on Ctrl-\, which is even more of a subversion.

      I can use vi, but still prefer nano.

      • Ghoelian
        link
        fedilink
        26 days ago

        Firefox users use this in the wrong window at their peril (it closes the current window)

        Not just firefox. Also chrome, and a lot of other programs that implement tabs like file managers and things like that. It’s one of those almost universal shortcuts, like Ctrl+F or Ctrl+L