# Pinned commands should always be at the top, even after searching for them

**URL:** <https://forum.obsidian.md/t/pinned-commands-should-always-be-at-the-top-even-after-searching-for-them/54637>\
**Category:** Feature requests\
**Tags:** ui-ux\
**Created:** [February 17, 2023, 7:52am UTC](https://forum.obsidian.md/t/pinned-commands-should-always-be-at-the-top-even-after-searching-for-them/54637 "2023-02-17T07:52:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![OurBrain](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/o/41988e/32.png) [@OurBrain](https://forum.obsidian.md/u/OurBrain)\
**Post date:** [February 17, 2023, 7:52am UTC](https://forum.obsidian.md/t/pinned-commands-should-always-be-at-the-top-even-after-searching-for-them/54637/1 "2023-02-17T07:52:05Z")

</div>

### Use case or problem

I have several commands pinned, but when I search for them, they’re not always at the top. Sometimes they’re the second search result. It would save me the surprise and need to remember which commands appear second vs. first if all pinned commands simply floated to the very top no matter what was typed in. This would be as long as it was relevant, of course.

 ![image](https://forum.obsidian.md/uploads/default/original/3X/4/9/495e94feb38df3409118eac6633c03ee0c16af71.png)

### Proposed solution

If someone searches for a command and a pinned command appears in the search results, that command should be listed at the very top.

### Related feature requests (optional)

The only related thread is this one in the bug graveyard.

> [@Pinned Commands are not always at the top](https://forum.obsidian.md/t/pinned-commands-are-not-always-at-the-top/52294):
>
> Once you’ve done the above, delete everything above this line. ^ Shouldn’t that be in comment syntax? Anyway: Steps to reproduce Pin some commands via the desktop app. Use the command menu to look for all of the pinned commands. Expected result I expect all of the commands to be the first result when I perform a search, no matter how relevant it is to the query. Basically if it’s close enough to be listed in the search results, it should be immediately placed at the top. Actual result …
