News for hackers. Stuff that matters.
Re:Notes on Switching to Helix from Vim by klaussilveira on Friday October 10, 2025 @01:52PM (#45541782)
Helix still has no way to emulate Sublime's Ctrl + Click (placing multiple carets), nor Sublime's Ctrl + D (duplicating selections and creating a multiple caret for each)?
Re:Notes on Switching to Helix from Vim by mechanicum on Friday October 10, 2025 @03:39PM (#45542908)
Cmd + click places multiple carets on macOS. Apparently – I never touch the mouse when I’m editing in Helix. I don’t know which modifier it is on other platforms.

I’m not sure if replicating Sublime’s Ctrl + D is possible or not, but there are other ways to achieve every use case for it I can immediately think of. e.g. I think I’d typically be doing `<space>h` to select every instance of the symbol under the cursor, or using `s`elect to reduce a selection to a match, possibly yanked and pasted.

Re:Notes on Switching to Helix from Vim by runaway on Friday October 10, 2025 @04:05PM (#45543173)
There might be a better way but this bind works well for me in normal and select modes.

  C-n = ["search_selection", "extend_search_next"]
Re:Notes on Switching to Helix from Vim by klaussilveira on Saturday October 11, 2025 @08:00AM (#45548474)
Does not work on Linux. Also, double-clicking to expand selection like in Sublime does not work.

https://github.com/helix-editor/helix/discussions/10208

Re:Notes on Switching to Helix from Vim by eviks on Friday October 10, 2025 @02:21PM (#45542102)
It has both? Granted, Ctrl+D requires manual construction from a sequence of commands, but click to place extra carets works as is
Re:Notes on Switching to Helix from Vim by klaussilveira on Friday October 10, 2025 @04:24PM (#45543374)
> requires manual construction from a sequence of commands

Right, I saw some people share some snippets here before. But none of them act like Sublime does. I can't double-click a token and Ctrl + D to select next instances of it in my file.

Re:Notes on Switching to Helix from Vim by pandur on Saturday October 11, 2025 @04:53PM (#45552598)
A-s = ["save_selection", "select_mode","search_selection","extend_search_next"]

you select a token, then pess alt+s to select the next instance and so on

Re:Notes on Switching to Helix from Vim by klaussilveira on Monday October 13, 2025 @09:21AM (#45568045)
That limits to only 2 selections. If I keep pressing Alt + S, it does not select multiple instances of the first selection.

Also, I can't immediately start typing like in Sublime to replace the content. For example:

"test/filenameA.c"

"test/filenameB.c"

"test/filenameC.c"

"test/filenameD.c"

If I select test/ with the cursor, then A-s, it won't select 3 and 4. If I do this, however:

C-d = ["search_selection", "extend_search_next"]

It does select test/, in all 4 lines, but I can't immediately type "blah" to change test to blah.

Re:Notes on Switching to Helix from Vim by Shorel on Friday October 10, 2025 @02:41PM (#45542306)
It's very funny to me that some comments before someone wrote that helix has the best multiple cursor implementation.

I was curious about what could it be.

Then you mention it doesn't have two essential behaviours that I am used to, and I wonder if these people just know vim and cli editors and that's why they have such opinion. Because I am also a SublimeTexter.