Exactly the same as I used it on the age of frameworks, the age of Java and .NET, the age of compilers, the age of ...: you take it by the helve and swing the business end towards the object.
Ask HN: How do you use Vim in the era of AI?
41–50 of 105 posts
Re: Ask HN: How do you use Vim in the era of AI?
#42I’m not using any AI. A lot of us aren’t. Vim has done me well for 30 years so I’m not going to throw that away to sharecrop on someone else’s land.
I see coworkers reach for AI to perform many tasks that are made trivial by a few keystrokes or a simple macro in Vim.
Re: Ask HN: How do you use Vim in the era of AI?
#43Re: Ask HN: How do you use Vim in the era of AI?
#44I prefer commits to be granular to the extent that I manually edit the patch in git add -p, albeit rarely. So I have a pty plugin that my agent literally sends control codes to. This is also useful in general for LLMs driving any interactive terminal program. Long live text, I guess.
Re: Ask HN: How do you use Vim in the era of AI?
#45AI + Prompting can get you there, but it's still fairly laggy. Honestly, VSCode (aka: Cursor) w/ the vim plugin, and `F2-rename` has been the sweet spot for me. Reviewing diffs with `git diff | view -` and browsing them with vim is another useful.
:wq
Re: Ask HN: How do you use Vim in the era of AI?
#46I use jj vcs and now most of my time is spent reading the code, so I use diffview.nvim ( https://github.com/sindrets/diffview.nvim ) with some customizations for jj to read diffs. I also use the snacks picker/explorer to search for code.
Re: Ask HN: How do you use Vim in the era of AI?
#47I’m not using any AI. A lot of us aren’t. Vim has done me well for 30 years so I’m not going to throw that away to sharecrop on someone else’s land.
Re: Ask HN: How do you use Vim in the era of AI?
#48Quite satisfied with that, haven't opened vscode/zed in a while. Making something like that is easy with LLMs now.
Re: Ask HN: How do you use Vim in the era of AI?
#49Earlier quoted context omitted.
I see coworkers reach for AI to perform many tasks that are made trivial by a few keystrokes or a simple macro in Vim.
Your macros are not implementing features, fixing bugs, and writing test cases.
Re: Ask HN: How do you use Vim in the era of AI?
#50I’m not using any AI. A lot of us aren’t. Vim has done me well for 30 years so I’m not going to throw that away to sharecrop on someone else’s land.