Current workarounds / solution …
… which might temporarily cover a lot of use cases for the proposed hotkey:
Line (paragraph) under cursor can be selected by triple click.
Current line (around caret):
- Wrapped part of line surrounding caret(sometimes called cursor) can be selected by sequence of hotkeys: [End, Shift+Home]
- When that part starts with indentation, then press
Shift+Home
once more to include the indentation in the selection. - Whole wrapped line can be copied by Ctrl+C or cut out (= deleted) by Ctrl+X when no text is selected (Otherwise you would get the selection instead of current line). If some text is selected before this action, then first cancel the selection e.g. by pressing
Escape
orLeft
orRight
orclick
. Canceling multiple selection might require sequence of presses. - Whole line can be selected by cutting it out by Ctrl+X and then immediately pressing Ctrl+Z (Undo). (tested in Obsidian v0.10.1 in Windows 7)
Sequences of presses can be triggered by single hotkey using e.g. AutoHotkey or Keyboard Maestro. This (or some clipboard manager) can also deal with loss of previous clipboard content produced by Ctrl+X.