Live data from Hacker News

Neovim 0.12.0

github.com

71–80 of 271 posts

Re: Neovim 0.12.0

#71
post #30

Earlier quoted context omitted.

I am so used to sed-style, regex powered find/replace, that this use admittedly never occured to me. As a result, multi-cursor seemed mostly useless outside of pair programming that I never do. I will have to try it out once it lands in neovim just to see if I can wrap my muscle memory around it.

For me the nice thing about multiple cursors is when it would take more time to write the regex than it does to just throw down say 8 cursors and update the spots.

There’s an overlap between “Find and Replace” and Macros, but it’s too small for multi cursors to be particularly useful for me. Especially with emacs where I can bring up all the lines in a separate buffer and edit them there (occur-mode) or do the same for a set of files (grep-mode and wgrep)

Re: Neovim 0.12.0

#72

I'm using VIM - Vi IMproved 9.1. What am I missing? I'm kind of desperate to switch. Getting massive FOMO from colleagues using VS Code. But I really like using the keyboard to navigate. What should I do? Does NeoVim support Claude Code?

Ymmv, but I have been very happy using classic vim’s “native claude support”

:term claude

It will also expand special characters so you can do something like

:term claude “refactor %”

And Claude starts work on your current file right away. Also your buffers will update with Claude’s edits!

Re: Neovim 0.12.0

#73

If anybody wants to checkout my site to learn the basics of vim. Here it is: https://vimgolf.ai I proxy to neovim instances for each level. Still working out some kinks but soon to complete it

Seems like you need an account just to try it.

Re: Neovim 0.12.0

#75

Earlier quoted context omitted.

Whats with all the fuss over multicursor. How is this different from just using '.'

dot repeat is the wrong comparison. A closer one would be macros, but even then a good multiple cursors implementation is often faster, more intuitive, and requires less cognitive overhead. One of the better examples of the usefulness of multiple cursors is from Emacs Rocks (link goes to 0:23): https://m.youtube.com/watch?v=jNa3axo40qM&t=23s

What do you when the things you want to change don't all fit on the screen at once?

Re: Neovim 0.12.0

#78

Up next for 0.13: multiple cursors! I have no idea what I'd do with this feature but it sounds intriguing. https://neovim.io/roadmap/

Multi cursor support in VSCode replaced 98% of my need for macros. Yes, macros are more powerful, but they are pretty easy to get wrong. With multiple cursors, it's far easier to spot where your inputs don't work out and adjust accordingly. Multi cursor is the feature that increased my productivity the most across the board.

Forget macros and multi-cursor. (Regex) substitutions from vim's command line replaced 98% of my editing needs and rendered a lot of my vim-fu useless.

(Just like searching with / replaced 98% of my navigation)

Editing something without having to actually place the cursor anywhere is a killer feature

Also neovim can show you your substitutions live, no need for a plugin anymore. It's the default.

Re: Neovim 0.12.0

#79
post #73

If anybody wants to checkout my site to learn the basics of vim. Here it is: https://vimgolf.ai I proxy to neovim instances for each level. Still working out some kinks but soon to complete it

Seems like you need an account just to try it.

Yeah working on a smart way to rate limit stale requests for those who don't have accounts.But the final version will allow anybody who is not a bot, to get into a vim instance without logging in. Thanks for the feedback.

Re: Neovim 0.12.0

#80
post #3

> - d21b8c949ad7 pack: add built-in plugin manager `vim.pack Can someone try to sell me this over lazy.nvim? I asked Claude to convert lazy config to pack and I was not happy with it because how verbose it turned out

I always thought Vim/Nvim already had a built-in package manager, git clone inside ~/.vim/pack/*/start, am I missing anything by not using a "real" package manager?

Not really. That’s what I do.
Post reply on HN