(Alt + up) (Alt + down) to get multiple cursors like VS Code

In VS code you can press Alt + up to place a second cursor on the line immediately above your cursor.

I think that same UX as an addition to the Alt + click Obsidian currently has would be a very good workflow improvement, and familiar for anyone who uses VS Code

A use case that you’d commonly run into is tabbing multiple bullets in a list all at once, or adding bullets to the beginning of multiple lines, or changing those bullets to checkboxes, etc.

24 Likes

This feature would be a great addition to the custom shortcut section in settings.

1 Like

+1 from me. I’d also like cmd+click to get a new cursor (like in VSCode on Mac)

Once you get used to multiple cursors it is hard to use a text editor without that feature.

1 Like

Don’t forget the awesome ctrl+d functionality in VSCode to select identical strings and drop cursors on each

4 Likes

alt+click does that.

+1!

To toss on some other ideas:

ctrl+shift+l in sublimetext will generate 1 cursor per line in a selection.
alt+enter after a search for a string will generate a cursor per search selection.

4 Likes

+1
Using mouse to place aligned cursors is too cumbersome.

Yes please!!! I frequently use ctrl+shift+l so often in sublime I miss it in Obsidian.

1 Like

+1 for (Alt + up) (Alt + down) But if we are stuck with the more cumbersome mouse Alt+click, maybe it could be like Notepad++, which accepts Alt-drag. So when we have twenty lines we want to edit at once, we can do it in one sweep rather than twenty, error prone, individual clicks.

1 Like

@goodsignal For me on Windows 7, Alt+drag already works. (tested in Obsidian v0.10.8)


I use Alt+up/down for “Swap line up/down” currently, because Ctrl+up/down has bugs: Swap Lines Bugs . It is used in many programs this way: https://defkey.com/what-means/alt-up

1 Like

Oooooh!!! Thanks for testing that and pointing it out @malecjan ! I’m stoked about this!

I should have retested it before writing. This is one of those Easter Egg features that wasn’t mentioned in any release notes.
(at least I didn’t catch any mention of it)

+1. It is so import. Add it like atom or vscode. And add select multi select same word please.