logoalt Hacker News

helterskeltertoday at 6:51 PM11 repliesview on HN

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/


Replies

w4rh4wk5today at 7:23 PM

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.

show 3 replies
natastoday at 8:28 PM

one cursor for you one cursor for claude code :)

Iridescent_today at 7:06 PM

Kakoune has replaced many features with multicursor, including the sed-like commands (where you just select an area, search for patterns inside it to create the multiple cursors, then perform regular edits (which also means you can perform much more complex than simple replaces). It is really useful for refactors, e.g. even if you don't have any LSP (e.g. for plain text) you can easily rename symbols, reorder/select in log files, etc

evikstoday at 7:31 PM

You'd do text editing with it with the coolest feedback loop - immediately seeing the changes and what those changes apply to beforehand, that's different from having to repeat some macro multiple times

show 1 reply
qiinetoday at 8:25 PM

"Image API: vim.ui.img"

Oh neat!

steve_adams_86today at 6:58 PM

I'm not sure how people typically use neovim, but in Zed I find multiple cursors (especially combined with multiple file buffers) extremely ergonomic for refactoring quickly and easily where tools like find and replace or simple renaming doesn't suffice. It lets you scan through and add cursors where you need them, then perform your edits across locations and even files all at once. It's so nice that it played a significant role in me keeping Zed early on despite it missing a lot of extensions I used in VS Code.

show 3 replies
meekinstoday at 7:00 PM

Really excited about this! At least in Sublime Text I've found multiple cursors a really powerful tool for ad-hoc transformations on snippets of semi-structured text or instantly and visually applying the same edit on multiple similar lines.

themadsenstoday at 7:26 PM

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

show 1 reply
tekawadetoday at 7:02 PM

Lookup helix tutorial. It’s pretty useful.

andrepdtoday at 7:50 PM

Multiple cursors were the killer feature that got me to start using Sublime Text back in ~2010. Still an absolute staple of my text editing toolbox. Ctrl-D Ctrl-D Ctrl-D ...

scuff3dtoday at 7:00 PM

It's funny because I miss this one all the time. I got use it in Sublime and VScode before making the jump to Neovim. I know you can get similar functionality from macros and what not, but it's just not the same.