# A way to find which command is bound a specific hotkey

**URL:** <https://forum.obsidian.md/t/a-way-to-find-which-command-is-bound-a-specific-hotkey/10119>\
**Category:** Feature archive\
**Tags:** ui-ux, valuable, keyboard-shortcut\
**Created:** [December 17, 2020, 8:24pm UTC](https://forum.obsidian.md/t/a-way-to-find-which-command-is-bound-a-specific-hotkey/10119 "2020-12-17T20:24:20Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![cad](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/c/76d3ee/32.png) [@cad](https://forum.obsidian.md/u/cad)\
**Post date:** [December 17, 2020, 8:24pm UTC](https://forum.obsidian.md/t/a-way-to-find-which-command-is-bound-a-specific-hotkey/10119/1 "2020-12-17T20:24:20Z")

</div>

### Use case or problem

Say I want to map Cmd + j to something. When I do this, I don’t know if that key combination is already mapped to something, so I might clobber it. Further, there is no real way to know what hotkeys are mapped to what, and this becomes cumbersome when trying out various hot-keys to see what “feels right”.

To clarify, the menu currently in Settings\>Hotkeys allows searching for function —\> key-combination, but this feature request is for a way to search key-combination—\>function.

### Proposed solution

Have a way to “search by key combination” in Settings–\>Hotkeys where, it allows you to press a key combination, and it lists all functions that it is mapped to.

This is a common feature in many IDEs and code editors e.g. Visual Studio, sublime text, etc. so maybe we can based it on those.

### Current workaround (optional)

None.

### Related feature requests (optional)

None that I could find. Please let me know if this is duplicate, or related to something else that I might have missed!

---

<div class="post-metadata">

**Author:** ![Janek](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/j/2acd7d/32.png) [@Janek](https://forum.obsidian.md/u/Janek)\
**Post date:** [December 18, 2020, 2:45am UTC](https://forum.obsidian.md/t/a-way-to-find-which-command-is-bound-a-specific-hotkey/10119/2 "2020-12-18T02:45:29Z")

</div>

I was just wishing for this today. It’s cumbersome now, but I see this becoming an even bigger problem as more and more plugins are developed that add new functions.

---

<div class="post-metadata">

**Author:** ![malecjan](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/a6a055/32.png) [@malecjan](https://forum.obsidian.md/u/malecjan)\
**Post date:** [December 30, 2020, 4:41am UTC](https://forum.obsidian.md/t/a-way-to-find-which-command-is-bound-a-specific-hotkey/10119/3 "2020-12-30T04:41:56Z")

</div>

When filtering in hotkeys settings, match also the hotkeys (e.g. “`Ctrl+K`”), not only the command names.  
The same in command-palette.

### Use cases

- Safely checking what given hotkey does.
- Eliminating redundantly assigned hotkeys.
- Unifying hotkeys manually across applications
- …

### Proposed solution

For example searching for / typing “Ctrl+m” in Settings/Hotkeys dialogue will show also command(s) which have the hotkey assigned, not only the commands which have “Ctrl+m” in their name.

### Current workaround

Delve into config file.

### Related feature requests:

- original post: [When filtering in hotkeys settings, match also the hotkeys, not only the command names](https://forum.obsidian.md/t/when-filtering-in-hotkeys-settings-match-also-the-hotkeys-not-only-the-command-names/10630)  
(might contain relevant backlinks)

---

<div class="post-metadata">

**Author:** ![EllenMad](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ellenmad/32/23686_2.png) [@EllenMad](https://forum.obsidian.md/u/EllenMad)\
**Post date:** [February 1, 2021, 2:05am UTC](https://forum.obsidian.md/t/a-way-to-find-which-command-is-bound-a-specific-hotkey/10119/4 "2021-02-01T02:05:01Z")

</div>

I am a novice at this, but I am going to try to use Keyboard Maestro to make a list of command that I use when doing xx type project. I need a list like the one that appears with the Advanced chart plugin.

I am too old to remember all these hot keys. My fingers will not reach the keys while pushing down shift option command etc. So, I need a work around.

I think there is some way to pattern the hotkeys so they remind me which one goes with it. But, that is complex too.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [March 7, 2022, 3:25pm UTC](https://forum.obsidian.md/t/a-way-to-find-which-command-is-bound-a-specific-hotkey/10119/7 "2022-03-07T15:25:54Z")

</div>

Closed on March 7, 2022, 3:25pm UTC



---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [November 16, 2022, 2:49pm UTC](https://forum.obsidian.md/t/a-way-to-find-which-command-is-bound-a-specific-hotkey/10119/8 "2022-11-16T14:49:07Z")

</div>

Opened on November 16, 2022, 2:49pm UTC



---

<div class="post-metadata">

**Author:** ![DeutscheGabanna](https://forum.obsidian.md/user_avatar/forum.obsidian.md/deutschegabanna/32/29872_2.png) [@DeutscheGabanna](https://forum.obsidian.md/u/DeutscheGabanna)\
**Post date:** [July 5, 2022, 2:58pm UTC](https://forum.obsidian.md/t/a-way-to-find-which-command-is-bound-a-specific-hotkey/10119/9 "2022-07-05T14:58:00Z")

</div>

### Use case or problem

Not able to search for what is bound to Ctrl+O. Instead I need to know the exact name of the action to which Ctrl+O is bound. Then and only then can I change it.

### Proposed solution

Search either name or written keyboard combination, like so: Ctrl+O.

### Current workaround (optional)

None.

### Related feature requests (optional)

---

<div class="post-metadata">

**Author:** ![dhemery](https://forum.obsidian.md/user_avatar/forum.obsidian.md/dhemery/32/31547_2.png) [@dhemery](https://forum.obsidian.md/u/dhemery)\
**Post date:** [July 5, 2022, 3:35pm UTC](https://forum.obsidian.md/t/a-way-to-find-which-command-is-bound-a-specific-hotkey/10119/10 "2022-07-05T15:35:41Z")

</div>

Try this:

1. Bind Ctrl-O to the command you want.
2. If Obsidian shows a little red badge indicating a conflict, hover over the badge to see a popup that describes the conflict.
3. Delete the Ctrl-O from the other command.

---

<div class="post-metadata">

**Author:** ![orand](https://forum.obsidian.md/user_avatar/forum.obsidian.md/orand/32/19606_2.png) [@orand](https://forum.obsidian.md/u/orand)\
**Post date:** [July 5, 2022, 4:18pm UTC](https://forum.obsidian.md/t/a-way-to-find-which-command-is-bound-a-specific-hotkey/10119/11 "2022-07-05T16:18:48Z")

</div>

I believe this functionality comes from the Hotkey Helper plugin.

---

<div class="post-metadata">

**Author:** ![AlanG](https://forum.obsidian.md/user_avatar/forum.obsidian.md/alang/32/55225_2.png) [@AlanG](https://forum.obsidian.md/u/AlanG)\
**Post date:** [November 16, 2022, 2:55pm UTC](https://forum.obsidian.md/t/a-way-to-find-which-command-is-bound-a-specific-hotkey/10119/13 "2022-11-16T14:55:21Z")

</div>

I don’t have Hotkey Helper, but I always do the steps above to find conflicts. It’s part of Obsidian core.

![image](https://forum.obsidian.md/uploads/default/original/3X/8/e/8e77432e1956b6e1f7d22d7fa3b2dd9f20be7d24.png)

---

<div class="post-metadata">

**Author:** ![Kossak](https://forum.obsidian.md/user_avatar/forum.obsidian.md/kossak/32/35372_2.png) [@Kossak](https://forum.obsidian.md/u/Kossak)\
**Post date:** [November 22, 2022, 10:08pm UTC](https://forum.obsidian.md/t/a-way-to-find-which-command-is-bound-a-specific-hotkey/10119/14 "2022-11-22T22:08:37Z")

</div>

It doesn’t work if there are two hotkeys assigned already:

![image](https://forum.obsidian.md/uploads/default/original/3X/d/5/d5b59b2555621e73d9c339cf6a13c9c4b82ab221.png)

Anybody knows what `ctrl+l` is assigned to?

---

<div class="post-metadata">

**Author:** ![obsequious](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/o/4af34b/32.png) [@obsequious](https://forum.obsidian.md/u/obsequious)\
**Post date:** [November 23, 2022, 4:49am UTC](https://forum.obsidian.md/t/a-way-to-find-which-command-is-bound-a-specific-hotkey/10119/15 "2022-11-23T04:49:18Z")

</div>

> [@Kossak](#):
>
> It doesn’t work if there are two hotkeys assigned already:

I would file that as a separate feature request: when a hotkey is assigned to more than 1 command, instead of saying `conflicts with 2 other commands`, it should say `conflicts with "Omnisearch: Vault search" and 1 other command`. Obviously more useful to track down and eliminate conflicts.

---

<div class="post-metadata">

**Author:** ![anon63144152](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/a/a698b9/32.png) [@anon63144152](https://forum.obsidian.md/u/anon63144152)\
**Post date:** [November 23, 2022, 5:03am UTC](https://forum.obsidian.md/t/a-way-to-find-which-command-is-bound-a-specific-hotkey/10119/16 "2022-11-23T05:03:49Z")

</div>

This thread has a way to list all hotkeys for easy identification:

> [@How to avoid redefining hotkeys?](https://forum.obsidian.md/t/how-to-avoid-redefining-hotkeys/47763/2):
>
> Don’t conflicts show immediately in red? Any use? Commands by hotkey ```dataviewjs const getNestedObject = (nestedObj, pathArr) =\> { return pathArr.reduce((obj, key) =\> (obj && obj[key] !== 'undefined') ? obj[key] : undefined, nestedObj); } function hilite(keys, how) { // need to check if existing key combo is overridden by undefining it if (keys && keys[1][0] !== undefined) { return how + keys.flat(2).join(' ').replace('Mod', 'CMD').replace(…

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [March 29, 2023, 8:46pm UTC](https://forum.obsidian.md/t/a-way-to-find-which-command-is-bound-a-specific-hotkey/10119/17 "2023-03-29T20:46:25Z")

</div>

this is implemented in v1.2

---

<div class="post-metadata">

**Author:** ![system](https://forum.obsidian.md/uploads/default/original/3X/b/e/bec35fbd23ab28909bb6bfe62cb32eb82dd34019.png) [@system](https://forum.obsidian.md/u/system)\
**Post date:** [April 5, 2023, 8:46pm UTC](https://forum.obsidian.md/t/a-way-to-find-which-command-is-bound-a-specific-hotkey/10119/18 "2023-04-05T20:46:27Z")

</div>

Closed on April 5, 2023, 8:46pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
