Unofficial Hacker News companion — get notified on comment replies, and more.

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

313 points by thanato0s 6 days ago | themouseless.dev | 124 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (5)

  1. Weird. I tried using LLMs for help with vimscript (not even for code generation, just pointed questions) and the results were very broken/hallucinated. My guess is that vimscript is too obscure for LLMs to be useful.
    Replies (2)
    1. "LLMs" is a broad category.
    2. I've recently switched to neovim, and claude is oneshotting plugin tweaks in nvim lua, writes complex keybindings and accurately answers pretty obscure questions, sometimes looking into nvim source code. I doubt it'd have hard time with good old vimscript, though I haven't tried much. It certainly can read and reason about vimscript plugins.
      Replies (1)
      1. Generating config is not too hard, but as always with LLMs it's also the question of maintainability; I've my dotfiles for a long time now, and I don't have to fix it every two weeks. I'm not sure it would be so pain free if I was just generating config left and right.

        Even before LLMs was all what mattered I couldn't really use bloated external config, because without understanding what is what I can't really know what I need and how to add it...

        I like simplicity and controlling my tool, that's maybe why.

        Replies (1)
        1. I'm not generating my config left and right, but I do changes pretty rarely. And what occured to me that between changes I completely lose my grasp what's where and what for, even with comments and README's. Claude helps me there too, like "didn't I have a mapping for that stuff? Or was it a command?". So now I just have an alias to launch claude in my ~/.config/nvim folder, and sometimes open it from nvim terminal itself for a quick question or fix.