Add "Rename this block ID" command to command palette

Use case or problem

To make sure internal links to headings/blocks get updated when one renames headings/blocks, one must select Rename this heading or Rename this block ID… when right clicking either. The former command also exists in the command palette when the cursor is on heading, meaning one can easily invoke via Ctrl/CMD+P and, more importantly, assign a hotkey to it. Rename this block ID…, on the other hand, does not have a counterpart in the command palette. This discrepancy is bizarre.

Proposed solution

See title. Ideally, given that this command would only appear when the cursor is on block ID, this command should be the exact same that’s used to rename headings, so that one can utilize a single hotkey to invoke both actions vs having to assign and remember two separate hotkeys.

Current workaround (optional)

Right click block ID to select command.

2 Likes