Live data from Hacker News

Neovim 0.12.0

github.com

211–220 of 271 posts

Re: Neovim 0.12.0

#211
At this point my dev setup is basically just Neovim, tmux, and a terminal. I ended up removing the usual IDEs because I just was not opening them anymore.

What sold me was not even the editor itself at first, it was the workflow. I can leave sessions running, bounce between projects instantly, and my system still feels light. That matters a lot once you get used to having multiple things going at the same time.

Claude Code also helps a lot with the rough edges. When I run into some niche config issue or weird tooling problem, it is usually fixable in minutes instead of turning into a rabbit hole.

Re: Neovim 0.12.0

#212

My #1 issue with Neovim is the new ! Behavior. Anyone know how to make it toggle the alt terminal screen and just output to the primary screen like it does in Vim?

:Silent [0] is an effort to work similarly in Neovim to Vim's `:!`

[0] https://gist.github.com/Konfekt/8e484af2955a0c7bfe82114df683...

Re: Neovim 0.12.0

#213

Earlier quoted context omitted.

I'd recommend checking out lazyvim, it comes with a bunch of very sensible plugins and you can read through the lazyvim docs (and then click through to individual plugin docs) to discover them and see which ones you want to use.

I recently switched to LazyVim and the default config in their tutorial included all the “extras”. It transformed vim into some kind of hallucinogenic kaleidoscope of an IDE with all sorts of telescoping overlays and pop-ups with a color scheme that fits well with an 8 year old girl’s princess themed birthday party. I actually screamed a little. Not sensible. completely insane.

there’s the LazyVim distro and the lazy.nvim plugin on which it was built. the latter is a bit more sensible.

Re: Neovim 0.12.0

#214
post #164

Earlier quoted context omitted.

What are you talking about, kernel panics are part of life with consumer hardware. They would happen even if it was windows? You're right. I don't use SSH that often due to kubernetes, infact I only use ssh for connecting to my desktop to access my tmux sessions and it's great. I know where you're trying to go with this and it's simply not true. Who said anything about tmux? We're talking about neovim which is extrem…

you mentioned tmux. are you gaslighting me? lmao. and kernel panics are exceedingly rare on windows. i havent BSOD'd in eons

Kernel panics are almost entirely about bad RAM on all systems today. But last time I was stuck on Windows, about 2017ish, I was suffering constantly from blue screens in a way that never triggered on linux.

Re: Neovim 0.12.0

#215

I swapped to neovim and never looked back. I don't even have vscode, jetbrains or anything similar installed anymore. AI has made it so so easy to get into neovim and make anything work no matter how obscure it is. The biggest benefit for me which I haven't realized how good it is with tmux and the low low memory usage. I mean I can keep EVERY project I work on open, quickly switch and maintain. No more 10gb memory u…

What do you use for managing several different projects in nvim?

Re: Neovim 0.12.0

#216

Earlier quoted context omitted.

I use neovim daily but am 100% sure I'm not even scratching the surface of its power. In fact I'm not even sure I'm using anything specific to the "neo" variant vs plain vim. I can do simple search/replace, page up/down, jump to character or delete x words, but I feel like I'm missing a lot to really take advantage of it. Is there a tutorial or guide people recommend to become more of a power user? The only plugin I…

Honestly, same. I did naturally start to pick up things such as c(code actions) and some git related helpers. But gets you 90% of the way there with / navigation. Also just use the mouse! Lazyvim has great support for it. SK is your friend as well.

> Also just use the mouse! Lazyvim has great support for it.

My mileage was quite different: last time I tried, scrolling too fast with the mouse wheel consistently caused a segfault.

Re: Neovim 0.12.0

#217
post #189
post #153

Earlier quoted context omitted.

Which is why I just went with Helix and learned their keybindings. I have much more important things to do than figuring out why a plugin stopped working.

Doesn't seem like it if you can waste time learning all the keybinds just because you switched an editor, but also how does "can't do things since there are no plugins yet" rank higher vs "sometimes stops working" in importance?

[dead]

Re: Neovim 0.12.0

#218
post #189
post #153

Earlier quoted context omitted.

Which is why I just went with Helix and learned their keybindings. I have much more important things to do than figuring out why a plugin stopped working.

Doesn't seem like it if you can waste time learning all the keybinds just because you switched an editor, but also how does "can't do things since there are no plugins yet" rank higher vs "sometimes stops working" in importance?

It took me about 10 min to learn the keybindings. It does take longer to get familiar and efficient with them, but I wasn't a Vim master to begin with. (I can navigate efficiently and am proficient with a few combinations that I use the most, but that's about it.)

> "can't do things since there are no plugins yet"

Depending on what I am doing, I will probably go back to VSCode to get things done. Terminal editors are nice, but VSCode's extension ecosystem and usability is unmatched. I speak of that as someone who has spent hundreds of hours developing VSCode extensions. For me, "can't do things" is not (necessarily) a reason to set up Neovim plugins. It means I should figure out 1) if that's something I need to do regularly 2) If so, what's the best way to get it done.

(I am very well aware of what you can do with vim/Neovim plugins, just like zsh and tmux etc. Not spending time hand writing my config or setting up my plugins is an intentional choice. I like to start with a commonly used setup, discover pain points and bottlenecks, and then optimize or find some other solutions.)

Re: Neovim 0.12.0

#219
post #165

Earlier quoted context omitted.

Sounds awesome. Can you tell us more... How do you ideally use/setup AI,tmux and nvim?

tmux+lazyvim with mouse enabled, tmux with continiuum/resurrect, rest I can't really tell you about other than telling AI exactly what I wanted and doing so until I felt productive again. My setup looks something like this: |ai |nvim |git view | |___| |________ | |ai | |terminal | | |(proj selector)| | ai is an independent tmux window where I can shuffle between project groups. for AI I found oh-my-pi from can1357 it…

Awesome! I'll give it a shot. Thank you!

Re: Neovim 0.12.0

#220
post #208
post #206

Earlier quoted context omitted.

How can it show proposed changes if search doesn't match anymore after edits? You search for OLD, replace it with NWE, then notice the typo, delete 2 chars and type EW. How can search and replace help you here without searching for NWE anew? Yeah, do try it out to at least see the difference

I am not saying it's better or you shouldn't use multiple cursors. It does help a lot as opposed to the old way of not seeing what would have been changed. How does multiple cursors work anyway? How do you place them? By search? Is it used for anything other than working on matching text?

Your place them via search, manual click, extending up/down the line, via "match current word"

And it's also used for new text entry, not just editing matching text, e.g., add an extra field to each of these 5 arrays

Post reply on HN