Ability to set same hotkey for both the Move line up and Table: Move row up commands

Use case or problem

I have set the Move line up command to Alt + (same as in Visual Studio Code) and it is really useful for moving list items around.

Recently I needed to add more data to each entry and tried to use a table, it works but is quite clunky to be dragging rows around, luckily there is a Table: Move row up command. I set it to Alt + once more but that conflicts with the Move line up, and does not work.

Proposed solution

  • A new command for both Move line up and Table: Move row up, something like Move block up?
  • Allowing conflicting hotkeys, as a special case here, or just anywhere.

Current workaround

Using different modifiers for each action (eg. Alt and Ctrl)

5 Likes

Sorry for bumping, but I just stumbled upon this issue and wanted to add my current workarround. I set up a shortcut to switch to Source mode (Ctrl + Shift + E in my case) order the table as lines there and switch back. Hopefuly this wil be useful, before a proper solution is implemented.

I ran into this issue a week or so ago, but I just re-assigned to only use the line move variant. It works like a charm for table rows also in my experience.

So I just got that one hotkey set for moving a line up (or down).

Obsidian should fire both hotkey presses if they both set up on one keybind, why block it even. I’m pretty sure there are some other cases when one would wish to set two actions on the same hotkey. But this one in particular… I want it :open_mouth:

1+. This problem could be solved by adding conditional hotkeys: Contexts Hotkey / Conditional Hotkeys shortcuts