Here are some alternative ways to delete a line, or select an entire line:
- Use the “Delete paragraph” command. (basically the same as a line). I think this is default mapped to Ctrl-D and you can remap it.
- Triple click selects the whole line.
- Type Home twice (once goes to the right of a bullet. Twice to the beginning of the line), then hold Shift and type End twice. Selects the whole line.
- Bonus: with Vim bindings enabled, you can type
dd
to delete a line. OrV
to visual-select a line.
Semi-related FR that asks to move the cursor by clicking in the left margin: Clicking in the margins of the edit pane doesn't enable editing - #6 by Geffrey
These FRs would conflict with each other. For selecting a whole line, I personally think you’d probably still want to double-click, or drag in the margin, so a single click just moves the cursor into place.
As one example, VS Code clicking in the margin moves the cursor. Clicking on the line number gutter selects the entire line. But you have the best of both worlds I guess.