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.
This feature would be a great addition to the custom shortcut section in settings.
+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.
Don’t forget the awesome
ctrl+d functionality in VSCode to select identical strings and drop cursors on each
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.
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 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.
@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
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.
alt-click and alt-drag are very helpful; an equivalent to vscode’s cmd+d and cmd+shift+l would be welcome addition too!
Agree this would be a great feature to add.
FWIW ATM I hit cmd-o to open the current note in the default app, which is Sublime Text. Then I use Sublime’s excellent multi-cursor functionality, make my edits, then pop back into Obsidian.