Ask HN: How do you use Vim in the era of AI?
11–20 of 105 posts
Re: Ask HN: How do you use Vim in the era of AI?
#12Furthermore, a lot of my workflow is now done on remote servers (i love exe.dev) where claude code is sandboxed to an extent (it can still cause damage, just not to my main computer's file system). When I'm configuring those, i have a setup script that installs all of my vim files just the way i like them, so vim behaves exactly the same on a remote server as it does locally. I can edit things as needed. I can also access claude code on those servers as well. So working on my remote machine feels a lot like workin locally [1].
[1] I'm aware that i can setup cursor or vs code to access SSH servers, but it's just not as easy and doesn't feel as natural, IMO. There's something i like about needing to call `ssh remote-server` first.
Re: Ask HN: How do you use Vim in the era of AI?
#13"vimdiff" is a really great way to review code changes side-by-side.
Re: Ask HN: How do you use Vim in the era of AI?
#14Re: Ask HN: How do you use Vim in the era of AI?
#15but i don't use ai to write code for me -- i use it as a companion thing where i ask questions and then, instead of asking for code, i implement everything myself.
it keeps me sharp and helps me understand the lastest ai stuff.
Re: Ask HN: How do you use Vim in the era of AI?
#16Re: Ask HN: How do you use Vim in the era of AI?
#17Re: Ask HN: How do you use Vim in the era of AI?
#18Granted, the language servers are getting dusted, but it's much nicer to write goals in markdown in vim and send it to LLM in a self-written harness CLI; and even look at the results in the same way. All unix. LLM is just the latest toolbox addition.
Re: Ask HN: How do you use Vim in the era of AI?
#19I can jump to one tab look at the code, jump back over and talk to claude for a little.
I can spread this all across several projects using herdrs workspaces.
I still write code when it makes sense.
Sometimes i annotate the code with comments, hop back over and ask the LLM to consume the annotations i just added and make changes.
Sometimes i ask the LLM to analyze lots of code, and come up with a plan of attack for me, then i go implement it myself.
For Personal projects I write much more of the code myself still, because i enjoy it. For work, i do whatever gets the best outcome most efficiently.
Re: Ask HN: How do you use Vim in the era of AI?
#20The intersection of people who like vim and ai is basically nil
The Neovim/LazyVim speed for writing code turns out to be just as fast for navigating and reviewing code.