20 pointsby zekejohn9 hours ago15 comments
  • mmh0000an hour ago
    Yes. For one simple reason: As vi is part of the POSIX standard[1], it is gauranteed to be installed on all unix(-like) machines you may touch now or in the future.

    [1] https://pubs.opengroup.org/onlinepubs/9699919799/

  • hxugufjfjf6 hours ago
    Don't think so much about learning Vim itself. Learn vi(m) motions and apply them everywhere. Look for software that supports those vi keybindings, for example Vimium in the browser or the vim keybindings plugin for VSCode if that is something you use. You'll arguably be faster at navigating a computer in general, and if not, you can still get enjoyment of how fast you'll feel. If you decide to go down this route, check out vimtutor.
  • speedgoose6 hours ago
    Not everything in life is about being more productive.

    I think it’s worth learning vim, or emacs shortcuts, as an intellectual exercise.

    I still save time by editing little code thanks to vim, or vim mode in my ide. And it doesn’t take that long to know the basics. Is it worth it in terms of seconds saved over a career? Perhaps not anymore.

  • grugdev423 hours ago
    It's a handy skill to have if you interact with Linux machines.

    You'll need to edit files sometimes, and Vim (or Vi) is usually present. I don't think I've seen an install without it.

    The basics (opening files, writing, and closing) can be learnt in an hour. It's enough to make simple changes to .conf files.

  • ferguess_k2 hours ago
    You just have to decide it for yourself. Note that fluency probably takes months, if not years. For me it's not necessary and I'm not going to touch it.
  • nananana93 hours ago
    > i'm assuming everyone codes with AI to some degree

    Your assumption is incorrect, even in this forum, which is one of the most pro-AI places you'll find on the internet.

    If you think vim is fun (it is), you have my permission to learn it. It's also OK to do things without first asking for social validation.

  • vunderbaan hour ago
    The complexities of Vim are rather exaggerated IMHO - it's mostly an exercise in keyboard shortcut memorization. It was used principally in all my CS classes back in university, and everyone seemed to acclimate to it pretty quickly.

    On the off-chance that you somehow encounter a real world situation where you have to log into a POSIX machine that has no other editors (nano, etc.), you can just learn it then.

    I mean you're not defusing a bomb - it's not like you couldn't pull up the shortcut list on your phone and get acquainted with the majority of what you need in a few minutes.

      > boost my ego & assert my dominance
    
    I have never met a developer who unironically flexed that they used vim (or one of its modern variants like neovim).
  • flamboyant_ride5 hours ago
    I would say I'm maybe marginally more productive with Vim. But as you said, with advent of tools like Claude Code, where one hardly types, I don't think it really matters.

    FWIW, I think it's one of the last areas of the software world that gives me true joy. I would suggest to give a try for simple that reason.

  • segmondy2 hours ago
    It will be worth learning vim in 2076.
  • 5 hours ago
    undefined
  • skydhash4 hours ago
    > For anyone who's been using Vim for while AND uses AI to code

    Purposefully ignoring the second part.

    First, what really matters is the vi part of vim, i.e the idea of commands, text objects, motions,... The rest are very useful features that are nice to have especially in a programming context (quickfix list, makeprg, window and buffer management, macros,...).

    The first part makes editing text so much easier. Even in the day of prompting, they're still useful to have in any text editor. It takes typing text from a chore to a fun activity.

  • 7bit5 hours ago
    Vom is extremely overhyped, to the point that some developers feel that they're not true devs if they don't use it. Don't fall for it.

    While vim produces efficiencies for developers, that's not the single highest goal in programming.

    If you ask this question, I believe you also fell for this narrative.

    Learn it, if it intrigues you. But don't feel bad if you don't have any motivation to do so.

  • salawat8 hours ago
    Won't touch AI mate, so feel free to ignore me I guess. Vim is still worth learning. It's about the most basic editor short of old school vi; has a plethora of plugins that make it fairly usable and ubiquitous, and finally, learning to turn a plain text editor into an IDE is kind of a rite of passage for programmers. Btw. It's Free. Why wouldn't you want to learn to do more with Free?
  • colesantiago9 hours ago
    What happens if?

    1. The LLMs are down, and you're on call and you need to fix a bug immediately (no mistakes)

    2. You're working over serial (The LLMs aren't there to help you and only vi and emacs are available)

    3. You're working on an old computer for some esoteric reason.

    4. You're going in an interview and they (temporarily) forbid you to use an LLM to check your knowledge on using these tools (as well as programming tests)

    If you cannot use these editors without an LLM, (Vim has navigation keys 'hjkl', G/g and so forth which many such tools have adopted), then it isn't a good look.

    You don't have to 100% master them but knowledge of them will help when the LLMs have an outage, and there WILL be outages.

    Also be careful not to keep relying on these LLMs too much otherwise your programming skills will atrophy. [1]

    So the answer is YES, learn Vim, not to boost your ego, but make it a muscle memory so your skills won't atrophy.

    [1] https://www.infoworld.com/article/4125231/ai-use-may-speed-c...

    • zekejohn8 hours ago
      ya i do definitely agree that learning Vim is gonna help my overall understanding for how things work at a deeper level and also fight back a lot of the “learned helplessness” that i did develop when coding w/ AI to your point also another thing that i was thinking is that yes short term (maybe the first few months?) i wouldn’t see any benefit… but it would definitely help in the long term and that my coding ability is not just directly tied to whatever the latest model is capable of
  • lexmo676 hours ago
    [dead]