Select the entire paragraph, including any leading tabs and markdown code (-, # at start on Mac, with a keyboard shortcut. I can almost put something together with Keyboard Maestro, but can’t find keyboard shortcuts to move the cursor to a paragraph’s leading tabs, hyphen, #, etc. Essentially, I want to select all between two Returns.
The Mac’s triple-click does this in Obsidian perfectly. I just want to make a keyboard shortcut.
Things I have tried
All kinds of modifiers with arrows, control shortcuts, etc. Still can’t get cursor to go in front of leading markdown code.
There must be something simple I’m missing. Selecting a paragraph, along with its leading md code, seems like a common need.
Headings (## h2) and whatever is directly below them might be tough, because they are usually on a line/in a block of their own, but Cmd+C with no text selected takes care of most cases.
The ones that apply to a “line” seem to only affect a visual line (from one side to the other), not a “logical” line (everything between 2 newlines).
Opt-Up will move the cursor to the start of a paragraph, list item, or heading. From there, Shift-Opt-Down will select the paragraph (or whatever) and the newline at the end. If you don’t want the newline, press Shift-Left once to move the cursor back. I don’t know if any of those are Obsidian-specific; I just experimented to find them.
Because of Obsidian’s funky underpinnings (it’s essentially built out of website stuff), you may sometimes need to repeat a shortcut to complete the selection.
I found nothing that helped from the Mac shortcuts list, but from the Obsidian list, Cmd C with no text selected is exactly what I needed! I didn’t realize Obsidian has shortcuts that MacOS doesn’t have.