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.
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.
+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.
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)
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.
I’ve been using Obsidian for about 6 months and this is the one roadblock for me in my workflow. Using a mouse to create multiple cursors is imprecise and time consuming. In VS Code, I simply press CTL+ALT+Up or CTL+ALT+Down to create multiple cursors.
Could the Alt+Mouse feature be enhanced to use a keyboard “hotkey”? Perhaps two keyboard “hotkeys” can be added: “Add Cursor Up” and “Add Cursor Down”?
The addon Obsidian Multi-cursor seems to do what we want. However, it is not on the community addon list yet. So you have to install it manually. Try at your own risk.
Advanced-cursor addon just adds more functionality to cursors. It does not allow me to add more cursors with just a keypress unless I am missing something.