Better Command Palette

by Alex Bieg
5
4
3
2
1
Score: 48/100

Description

Category: Productivity Tools

The Better Command Palette plugin enhances the default command palette in Obsidian by offering a more intuitive and feature-rich experience. Users can quickly access commands, search for files, and locate tags using configurable shortcuts. Features include recent command prioritization, pinned commands, and the ability to create new files directly from the palette. Tag-based file search allows for efficient filtering, while macro commands enable users to execute sequences of actions with customizable delays. Hidden items can be managed to streamline the interface, with options to temporarily or permanently unhide them. The plugin also supports advanced customization and development features for further flexibility.

Reviews

No reviews yet.

Stats

184
stars
37,860
downloads
16
forks
1,555
days
893
days
956
days
45
total PRs
3
open PRs
5
closed PRs
37
merged PRs
74
total issues
43
open issues
31
closed issues
0
commits

Latest Version

README file from

Github

Obsidian Better Command Palette

A plugin for Obsidian that adds a command palatte that is more user friendly and more feature rich. Use cmd+shift+p to to open the palette.

Quick Feature List:

  1. Use backspace to close the palette
  2. Recent choices bubble to the top
  3. Built in quick switcher by typing / or using the hotkey
  4. Built in tag search by typing # or using the hotkey
  5. Search files with specific tags
  6. Macro commands
  7. Hide less useful Commands, Files, and Tag, but quickly see them again with cmd+i

Coming Soon:

  1. Populate the input with recent queries automatically
  2. Search files via unstructured frontmatter content

Features

Backspace to close

When the palette has no text entered into the input and you press backspace, then the palette will close. This can be turned off in the settings.

Recent Choices

Choices that have been recently used will bubble up to the top of the command list.

Pinned Commands

Commands that have been pinned in the default Command Palette will be pinned here as well.

File Opening

Better Command Palette allows you to open files from the same input without needing to run a command or press cmd+o first. Once the palette is open just type / (This can be changed in the settings) and you will be searching files to open. Press enter to open the file.

File Creation

If after searching for files to open there are no results you may press cmd+enter to create a file with the same name as you have entered. You may specify directories. If the directory path does not exist it will create it.

File Searching using Tags

Better Command Palette allows you to find and open files that contain the tags you search for. Type # (configurable in the settings) to begin searching all of the tags in your vault. Press enter to use that tag to filter the file search.

Macro Commands

Macros can be created in the settings tab for Better Command Palette. Each Macro must be give a name, delay, and at least one command. If any of these are not set the macro will not show up in the command palette.

The delay is the number of milliseconds the macro will wait between each command. This can be useful for commands that take some time to complete.

Any command can be added including other macro commands. Each command is run in sequence. At each step the macro will check if the next command can be run. Certain commands require certain conditions to be met. A an error message will be shown if a command could not be run. The macro will only be shown in the command palette if the first command can be run at that time.

Hotkeys can be assigned to the macro in the normal hotkey tab after the macro has been created.

Hidden Items

All items that are shown in the palette (Commands, Files, and Tags) can be hidden. Click the X next to the item to hide it from both current and future search results. If you want to be able to selec that item again briefly you can click the Show hidden items message under the search input or use cmd+I to reveal hidden items in the palette. These will be highlighted to better distinguish them. If you decide you want to unhide an item simply make sure hidden items are being shown, search for the item, and click the plus button next to it.

Development

Project Setup

  1. Clone the repo
  2. Run npm install

Development Build

Run npm run dev

This will create a directory named test-vault in your repo (automatically ignored by git). You can point obsidian to this directory and use it as a testing environment. Files are automatically watched and the dev server will restart when they are changed.

Local Build

Run npm run build-local

This builds the plugin in production mode and copies the needed files to the root of the repo (automatically ignored by git). This is to allow people who wish to manually install the plugin on their machines to easily do so by copying the plugin to their plugin directory and running the command.

Production Build

Run npm run build

Builds the plugin for production and puts all neccessary files into the dist directory. Pretty much only used by github actions for releases.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Wrap with shortcuts
4 years ago by Manic Chuang
Wrap selected text in custom tags with shortcuts.
Shortcut Launcher
4 years ago by MacStories
Trigger shortcuts in Apple's Shortcuts app from Obsidian with custom commands.
Command Palette--
4 years ago by qawatake
An Obsidian plugin to provide a command palette without unwanted commands
Marjdown shortcuts
4 years ago by Jules Guesnon
🪨 Obsidian plugin that allows to write markdown from commands
Sequence Hotkeys
4 years ago by Ruan Moolman
Obsidian plugin to support a sequenced of keyboard shortcuts to run commands.
Text Expander JS
4 years ago by Jonathan Heard
Obsidian plugin: Type text shortcuts that expand into javascript generated text.
Script Launcher
4 years ago by Alessandro Ruggiero
An Obsidian plugin that allows you to easily run scripts written in any language directly from the app
Keyboard Analyzer
4 years ago by cogscides
Obsidian plugin to display command hotkeys on a visible keyboard layout
Quickly
3 years ago by Sparsh Yadav
Quick capture to obsidian note
Quick Links
3 years ago by Ian Fisher
Obsidian plugin to create quick link shortcuts
Harpoon
3 years ago by mask(developermask)
Next Link
3 years ago by Juan Luque
Note Toolbar
2 years ago by Chris Gurney
Flexible, context-aware toolbars for your notes in Obsidian.
Vimium
2 years ago by Karsten Finderup Pedersen
Interact with elements using keyboard shortcuts in the spirit of Vim.
Rich Text Editor Shortcuts
2 years ago by Joshua Wootonn
Create and toggle checkboxes, paste links wrapping your current selection, and toggle underline without leaving the keyboard.
Backtick text selector
2 years ago by Ram Rachum
Obsidian plugin for selecting text in backticks
Leader Hotkeys
5 years ago by Tony Grosinger
Use a leader-key (tmux style) for hotkeys in Obsidian.md
Shortcuts extender
6 years ago by kitchenrunner
Plugin for Obsidian: Use shortcuts for input special symbols and changing level of headings without language switching
Hotkeys for Bookmarks
5 years ago by Vinzent
Footnote Shortcut
5 years ago by Alexis Rondeau, Micha Brugger
Makes creating footnotes in Obsidian more fun!
Format Hotkeys
5 years ago by Ansel Santosa
Google Docs style formatting hotkeys for Obsidian
Auto pair chinese symbol
5 years ago by renmu123
中文符号自动补齐
Code Editor Shortcuts
5 years ago by Tim Hor
Obsidian plugin to add keyboard shortcuts commonly found in code editors such as Visual Studio Code (vscode) or Sublime Text
Key Promoter
5 years ago by Johannes Theiner
Learn keyboard shortcuts by showing them when using the mouse
Lumberjack
5 years ago by ryanjamurphy
Log your thoughts! Lumberjack adds URL commands to help you axe inefficiency and get right to writing.
FastForwardLink
a year ago by Idan Liberman
FastForwardLink Obsidian.md Plugin
Hanko
a year ago by Telehakke
Obsidian plugin.
Hotstrings
a year ago by wakywayne
CmdSearch
a year ago by SpaceshipCaptain
Quick Nav
a year ago by exoticknight
Enhance your editing experience by unleashing the hidden power of shortcuts.
Custom Commands
a year ago by Staaaaaaaaaan
Create custom commands to be executed in the command palette, and by hotkey. Currently supports opening specific notes, creating notes, inserting snippets, and executing sequences of commands.
Heading Helper
10 months ago by Siddhartha Khuntia
LLM Shortcut
9 months ago by Viktor Chernodub
A plugin for Obsidian that provides a way to create shortcuts for commands powered by LLM capabilities.
Code Blocks commands
8 months ago by dragonish
Provide commands to insert code blocks with markup, and support triggering commands with backticks.
Custom Comments
8 months ago by Jack Chronicle
Adds a method to create custom methods to enclose comments
Ghost Text
8 months ago by lawrencefeng17
Note Codes
8 months ago by Ezhik
Reference your Obsidian notes from anywhere with simple 4-character codes.
Web viewer Bookmarks
7 months ago by Stefan Danzl
Obsidian Plugin to create Bookmarks for internal Web Viewer
Expand Selection
a month ago by Alex Tait
Expands the editor selection to lines, sections, or the entire note for convenience on mobile.