timhor/obsidian-editor-shortcuts

Remove Delete line?

whitenoisedev opened this issue · 1 comments

Is "delete line" the same as "delete paragraph" built in obsidian?
Side-Note: the new editor has ctrl-shift-k already bind to delete line.

Is "delete line" the same as "delete paragraph" built in obsidian?

It's basically the same, but I noticed a slight discrepancy in the behaviour of Delete paragraph between Mac and Windows so I'll keep Delete line here for now.

  • On Mac, using Delete line on the last line of a note will delete the entire line AND move the cursor to the previous line (consistent with VS Code's behaviour) whereas Delete paragraph will only clear the contents of the line.
  • On Windows, both of them do the same thing.

Side-Note: the new editor has ctrl-shift-k already bind to delete line.

I see the default binding as Ctrl+D on v0.13.19.