frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

How do you use Vim in the era of AI?

17•rstagi•58m ago
I'm a heavy vim user, but now that I look at the code less and less I'm wondering if it still makes sense.

Comments

wffurr•26m ago
Use it to write and edit code when that makes sense for you to do so. Just like you always have. It's an extremely useful skill to have even still.

I've had much more success with agents reviewing my code and offering inline autocomplete over LSP than I have with letting the agents write the code, which I then try to review. I end up with a much better mental model of the code and higher quality output than either I or the agent could do alone.

ActionHank•25m ago
You're not looking at the code?
mtklein•23m ago
On about day 2 of using Fable I realized that the .vimrc I'd been maintaining for 15-20 years would probably never change again.

With Opus I still feel like I'm pair coding and want to get in there and make some changes myself, but working with Fable (even Fable managing Opus agents) had me in a completely different mindset, one where I realized I would just be getting in the way.

simianwords•22m ago
The intersection of people who like vim and ai is basically nil
snaveen•18m ago
There are few people.
apodik•18m ago
that is untrue
Apreche•18m ago
Can confirm. Using vim same as always. Do not use any so-called ”AI” whatsoever.
perplex•8m ago
My Neovim + AI workflow is running Neovim (LazyVim) and Claude Code side by side in a terminal split. As the agent makes changes, I review them in Neogit. I don't really make edits by hand much anymore, but the keyboard is still how I navigate the code when doing reviews. I can jump to references, open files, read through the diff very quickly with keyboard shortcuts.

The Neovim/LazyVim speed for writing code turns out to be just as fast for navigating and reviewing code.

throw2ih020•18m ago
I switched from using Vim as my primary editor to using Zed's Vim Mode. When you have a second process editing your project in the background you need an editor that can display those changes immediately without clunky buffer reloads.

I've also customized Zed's UI to optimize for reading and reviewing code, and mostly adding notes or small focused edits, rather than writing entire files from scratch.

ArcHound•18m ago
I did a write-up at https://blog.miloslavhomer.cz/vibing-with-french-models-in-n....

It really can be a fancy auto complete, but more agentic usage moved out of the editors (and I think that's a good thing).

vslira•17m ago
I use it to write instructions, obviously. I thought everyone was using C-g on Claude Code
chadash•15m ago
i use vim quite a bit! I find that in this new era, i'm in the command line a lot and like to stay in the command line. vim (I use neovim) is a good way to do that.

Furthermore, 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.

linsomniac•15m ago
^G in Claude and Codex will drop you into $EDITOR to edit your prompt. I use that all the time.

"vimdiff" is a really great way to review code changes side-by-side.

hjkl_hacker•15m ago
I still use Vim, but totally different from before. I don’t care about efficient movement/editing bindings. All I use it for now is navigating and viewing files.
fernandotakai•11m ago
like normal?

but 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.

avsn•10m ago
Usually I keep terminal split open with the agent side by side and make edits by hand where needed or for reviewing the code. Inside the vim itself I have a small plugin that you can feed a block of text with the comment instructing LLM what to do. It then replaces the text with the result of execution. Super useful for small edits here and there that don't require full session. I also have preconfigured neoterm float with the pi agent, that allows me to jump into the session right away.
philipportner•10m ago
Hasn't changed at all since AI agents became a thing. tmux, nvim with a few plugins, mainly fzf and LSP support. If I do use an AI agent, I just run it in another tmux window.
Aperocky•9m ago
I am sort of a no UI (except browser) user for a very long time now, and vim is still incredibly useful.

Granted, 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.

chikinpotpi•8m ago
I use vim and claude code (fable) inside of herdr.

I 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.

MantisShrimp90•6m ago
(Neo)vim is setup wonderfully for this era. Im with Justin on the take that neovim can replace tmux soon literally all that is left is being able to restart terminal sessions on restart (which is even set as a goal for summer of code).

Neovim can already have all the agents running in different terminal buffers or there are plugins popping up every day to have deep integrations with your favorite or we even have some interesting harnesses that are unique to neovim like sidekick.

As always, the ability to compose small tools and edit any file allow neovim to stay relevant and more powerful than ever in my opinion while not forcing workflow changes like the others

redlewel•4m ago
How are you a heavy vim user if you wonder if vim makes sense with ai? There are so many things to do outside of writing code that vim is used for.

Also neovim + claude code + open terminal pane in tmux is the goated combo anyway. Especially more lately you need to understand the code you are writing if you want to do anything important in software, and the best way to do that is neovim :)

Planned Texas data centers could emit more greenhouse gases than many countries

https://www.texastribune.org/2026/07/09/texas-data-centers-ai-power-plants-pollution-state-permits/
1•hn_acker•16s ago•0 comments

Netflix Exploring Live TV and Bundles as It Struggles to Keep Viewers Hooked

https://www.wsj.com/business/media/netflix-is-exploring-live-tv-and-bundles-as-it-struggles-to-ke...
1•bookofjoe•39s ago•1 comments

Ask HN: Thoughts on a MCP to manage cloud and AI spend?

1•edifil•58s ago•0 comments

Toward Environmental Liberalism

https://blog.andymasley.com/p/toward-environmental-liberalism
1•jger15•2m ago•0 comments

Show HN: CiteReady – Can AI search (ChatGPT, Perplexity) cite your site?

https://citeready.sprytools.com/
1•grenzfrei•2m ago•0 comments

Show HN: Run 25 Audio Models (TTS/STT/STS/Muisc) Locally in C++/GGML. No Python

https://github.com/0xShug0/audio.cpp
1•0xshug0•3m ago•0 comments

China retrieves booster in reusable rocket breakthrough

https://www.dw.com/en/china-retrieves-booster-in-reusable-rocket-breakthrough/a-77904960
1•tuxie_•3m ago•0 comments

Michigan's explosive outbreak of diarrheal parasite jumps to over 1,200 cases

https://arstechnica.com/health/2026/07/michigans-explosive-outbreak-of-diarrheal-parasite-jumps-t...
1•rbanffy•4m ago•0 comments

Show HN: ParkMyAws – stop paying for dev/staging AWS instances at night

https://parkmyaws.com
1•moisish•4m ago•0 comments

Productivity by Sam Altman

https://blog.samaltman.com/productivity
1•nanfinitum•5m ago•0 comments

Show HN: New TLS 1.3 (RFC-8446) implementation written in Rust

https://github.com/c410-f3r/wtx
1•CaioFer•5m ago•0 comments

Anthropic found a hidden space where Claude puzzles over concepts

https://www.technologyreview.com/2026/07/09/1140293/anthropic-found-a-hidden-space-where-claude-p...
2•Brajeshwar•6m ago•0 comments

The AI Picbreeder Experiment

https://pub.sakana.ai/picbreeder-vlm/
1•hardmaru•7m ago•0 comments

Why Human+AI collaboration beats AI-only automation

https://www.techradar.com/pro/why-human-ai-collaboration-beats-ai-only-automation
1•ilreb•8m ago•0 comments

We Carried Out the Red/Blue Button Experiment with Life or Death Stakes

https://thebsdetector.substack.com/p/we-carried-out-the-redblue-button
1•surprisetalk•8m ago•0 comments

Looma – turn coding-agent history into resumable project context

https://github.com/devYRPauli/looma
2•yashrajpandey•9m ago•0 comments

I found the e-ink monitor I've been waiting for, and it changes how I work

https://www.xda-developers.com/finally-found-e-ink-monitor-waiting-for-changes-how-work/
2•raffael_de•9m ago•0 comments

Lawmakers Call for CDC to Track Vitamin K Shot Refusals, Cite ProPublica Report

https://www.propublica.org/article/vitamin-k-cdc-rfk-jr-lawmakers-letter
2•hn_acker•10m ago•0 comments

Significant OpenAI Regression On SimpleBench

https://old.reddit.com/r/singularity/comments/1uski8w/significant_openai_regression_on_simplebench/
1•optimalsolver•10m ago•0 comments

China may struggle to fund Xi Jinping's tech dreams

https://economist.com/finance-and-economics/2026/07/09/china-may-struggle-to-fund-xi-jinpings-tec...
1•andsoitis•11m ago•0 comments

The Salience of Data

https://www.mbi-deepdives.com/data/
1•vinhnx•11m ago•0 comments

The Iran War threatened a food crisis. The next Gulf conflict could do the same

https://www.reuters.com/graphics/IRAN-WAR/FERTILIZER/zjvqgwgakvx/
2•littlexsparkee•12m ago•0 comments

Keeping an Offline Copy of StackOverflow with Kiwix (2020)

https://rickcarlino.com/2020/keeping-an-offline-copy-of-stackoverflow-with-kiwix.html
1•turtleyacht•12m ago•0 comments

Proton Login Issues, anyone else impacted?

https://status.proton.me
1•aarondong•14m ago•3 comments

The Spec Ceiling: Why AI Coding Speed Moves the Bottleneck to Product Discovery

https://magnus919.com/2026/07/the-spec-ceiling-why-ai-coding-speed-moves-the-bottleneck-to-produc...
1•vinhnx•15m ago•0 comments

Trump Pushes Out Members of Bipartisan Election Commission Ahead of Midterms

https://www.propublica.org/article/federal-election-assistance-commission-trump-dismantled
3•hn1986•15m ago•0 comments

Netflix in Talks to Buy Letterboxd

https://variety.com/2026/digital/news/letterboxd-sales-talks-netflix-sony-paramount-1236806379/
2•theanonymousone•16m ago•0 comments

Quills and conflict: How protection in the Strait of Hormuz is bought and sold

https://www.cnn.com/2026/07/10/business/lloyds-of-london-strait-of-hormuz-intl
1•RetroTechie•18m ago•0 comments

Could Strategy's Potential Bitcoin Sale Reshape Market Sentiment?

https://coinmarketcap.com/community/post/377668818/
1•joeymabia1•19m ago•0 comments

Show HN: WindowBunny – Window Switcher built for trackpad users

https://www.windowbunny.com
1•AbjMV•19m ago•0 comments