Remix.run Logo
LexiMax 4 hours ago

> But where are the AI features?? Gonna get left behind!

Obviously vim doesn't need AI, but one feature I really wish vim had was native support for multiple cursors.

It's the feature that lured me away to Sublime Text in the first place many years ago, and it's a pre-requisite for pretty much every editor I use these days, from VSCode to Zed.

There are plugins, but multicursor is such a powerful force-multiplier that I think a native implementation would benefit.

mystifyingpoi 4 hours ago | parent | next [-]

The canonical answer to this request is as follows: if you need multi-cursor (or, worse, multi-cursor with mouse support) then you are doing something non-Vim way (aka: wrong way) and there is a better way to do it.

If you need multi-cursor to do manual search and replace in text, then don't, just do automatic search and replace, maybe scoped to a block. If you need multi-cursor for refactoring or renaming a variable across entire source file, then don't, use LSP plugin (or switch to Neovim) and do the proper refactoring action.

Sure, there are legit cases of using multi-cursor in Vim, but they are rare. So it's not worth to put it into Vim itself.

riffraff 2 hours ago | parent [-]

personally, I know I can use search and replace, but <ctrl-n>-n-n-c-replacement[0] is easier on my mind than the search&replace alternative

[0] I've been using vim-multiple-cursors for years, it's abandoned but still works ok most of the time.

gjkliewer 3 hours ago | parent | prev | next [-]

Multi cursor is on the neovim roadmap https://neovim.io/roadmap/

WhyNotHugo 3 hours ago | parent | prev | next [-]

Funny, I used multiple cursor a lot back when I used Sublime Text, but stopped needing them when I switched to Vim.

ivanjermakov 3 hours ago | parent | prev | next [-]

There are plenty of ways to achieve workflows that can be done witg multiple cursors even in plain Vim: macros, :norm, visual blocks, :s, etc.

stackbutterflow 3 hours ago | parent | prev | next [-]

I'm curious to know what kind of editing you do that you need this so much?

sejje 4 hours ago | parent | prev [-]

How does it work?