4 ms·
I agree and I know what you're saying, but I'm pretty curious: how are people using AI with vim? I've seen some scripts for ollama but what are most people doin
by guerrilla 8mo ago
I agree and I know what you're saying, but I'm pretty curious: how are people using AI with vim? I've seen some scripts for ollama but what are most people doing?
- Carrok 8mo agoThe copilot plugin works well
- era86 8mo agotmux + vim + Claude Code
- bicx 8mo agoThis. With so much of my work being done with Claude Code via terminal, I’ve used vim and tmux more than I have in the 20 years since I was first introduced.
- Keyframe 8mo agosame, although I'm using zellij instead of tmux. Copilot works well in vim too.
- linhns 8mo agoHow many people don’t know tmux in the industry is really beyond me.
- jimmaswell 8mo agoWhat's the elevator pitch if I already know Screen and I can just open multiple windows of the terminal emulator?
- hibbelig 8mo agoI switched from screen to tmux due to rumor about the screen code base. Maybe not a good reason. But I don’t regret it, tmux works well. Just an honest opinion of someone who didn’t have skin in the game. Not sure if it helps.
- mystifyingpoi 8mo agoNo pitch - just use screen, most people use tmux in exactly the same way - open a few splits and switch between them with keyboard shortcuts.
- linhns 8mo agoTmux is better supported by other tools, such as fzf.
- fragmede 8mo agoThe people GP are talking about don't know about GNU screen either.
- tommy_axle 8mo agoWith all the buzz about orchestrating in the age of CLI agents there doesn't seem to be much talk about vim + tmux with send-keys (a blessing). You can run as many windows and panes doing so many different things across multiple projects.
- prinny_ 8mo ago
- sorentwo 8mo agoNearly this, but using ghostty instead of tmux. You don’t get the remote connection aspect of tmux, but for splitting/zooming/preserving windows it is fantastic. The best part is you can configure natural shortcuts rather than using a leader for everything.
- dotancohen 8mo agoAs a tmux user, sell me on ghostty. I hate the leader key, especially in VIM.
- qsort 8mo agoAI makes advanced IDE features less relevant (or, more precisely, much easier to ignore or work without.) I still have PyCharm, especially for working with data which I do a lot it helps quite a bit, but by default I'm back to a very vanilla Vim setup. Others have mentioned tmux which is great and I'd use anyway especially over ssh, but even just terminal tabs for instances of agents are fine frankly.
- flexagoon 8mo agoAt least for Neovim, there are many official or community-made AI autocomplete plugins, and a bunch of chat interfaces as well
- drawnwren 8mo agoAvante.nvim is quite active
- troyvit 8mo agoI don't use it this way yet, but aider has a watch mode that would be fun with vim: https://aider.chat/docs/usage/watch.html https://aider.chat/docs/usage/watch.html I imagine with vim, from the document you're editing, you'd go: :ter to get a terminal. Fire up aider with --watch-files in the terminal. Hop back up to the file and start telling it what to do. Hit L when it's done to see the changes. That's just a guess but after writing it out I kinda want to try it. When I use aider it's via its chat interface and then I load the file with vim in another terminal tab to follow along but I think --watch-files with vim would be fun.
- prinny_ 8mo agoDoes it count if I share my experience with AI and nvim? I use it to update my configuration, discover new plugins, write custom lua code (I don't know lua) and inquire about motions that would help me in specific workflows. I started learning vim motions last summer and AI really lowered the entry barrier and allowed me to focus on the motions rather than the setup. Also related to my nvim workflow but not strictly vim related: I use AI to write and update a bash script that handles tmux windows. Again, it lowered the barrier to entry and it made switching to nvim as my primary editor easier.