4 ms·
I just like having a neovim terminal open with claude code open
by softwaredoug 1y ago
I just like having a neovim terminal open with claude code open
- helsinki 1y agoI think that’s a decent approach, but doesn’t the performance of a Neovim terminal bother you? It simply does not feel as good as a native terminal pane. It’s not as bad as VSCode’s terminal pane, but it still leaves something to be desired.
- dosethree 1y agoJust use tmux and split windows
- softwaredoug 1y agoI have never noticed any problem... The main annoyance is dealing with newlines
- OrderlyTiamat 1y agoI've noticed no problems, and I'm usually pretty controlling about performance- what am I missing?
- rnmp 1y agoI use Neovim + kitty (https://sw.kovidgoyal.net/kitty/conf/ https://sw.kovidgoyal.net/kitty/conf/) and the performance is phenomenal. Everything is instant. kitty also has a built-in robust layout system so I ended up ditching tmux entirely for it.
- apwell23 1y agothey how do you say. look at these lines of code to claude?
- oblio 1y agoCan you prompt it? A bit manual, but hey. I wonder if you can script visual selection in Neovim to output full file path plus line number range, for direct copy paste.
- apwell23 1y agoyou can start neomvim with a network ( neovim --listen) socket and tell calude " look at neovim at this network socket and get current selection" This actually works :)
- softwaredoug 1y agoI just say "look in file.py at lines 20-30" or "See in function FooBar where we foo the bar".
- apwell23 1y agoi guess thats a bit of typing and then claude has to do a grep/find to figure out what you are talking about.
- adregan 1y agoOut of curiosity, do you have a good flow for having a file buffer automatically update in response to claude's changes? I'm perpetually needing to remember to `:e!<CR>` to read the updated file.
- gertlex 1y agoTo offer an anecdote: I've been used to doing `:e!` with vim. I recently finally had a reason to move to nvim... and it's been auto-updating my buffers when I do stuff in `aider`. Very much a, "oh, ok that's nice!" and I haven't dug further.
- adregan 1y agoI’m actually a neovim user already! This makes me worry that my config has something to prevent this behavior (but I hope not, I hate messing with my config)
- rustyminnow 1y ago:help 'autoread' (I think)
- yoyohello13 1y agoThere is a vim setting to automatically load changes from disk. I can’t remember name of the option right now, but it should be an easy lookup.