Command Palette

Keyboard-first workflow with the command palette

Opening the Command Palette

Press ⌘K to open the command palette. You can also access it from View > Command Palette. The command palette gives you quick access to all tibok features without using the mouse.

Using the Command Palette

Searching Commands

Start typing to search for commands. The palette filters results as you type, showing only matching commands.

Executing Commands

Use arrow keys to navigate, then press Enter to execute a command. Press Esc to close.

Keyboard Shortcuts

Many commands show their keyboard shortcuts in the palette. You can use these shortcuts directly without opening the palette.

Common Commands

The command palette provides access to all tibok features. Common commands include:

New Document⌘N

Create a new markdown document

Open File⌘O

Open an existing markdown file

Open Folder⌘⇧O

Open a workspace folder

Toggle Preview⌘\

Show or hide the preview pane

Toggle Inspector⌘I

Open frontmatter editor for Jekyll/Hugo metadata

Git: Commit⌘⇧K

Commit staged changes

Find⌘F

Search within document

Find and Replace⌘⌥F

Search and replace text

All commands show their keyboard shortcuts in the palette. You can also access these features through the menu bar.

Slash Commands

Type / at the beginning of a line to open the slash command menu. Use arrow keys to navigate and Enter to select. The status bar shows "Type / for commands" as a reminder.

tibok includes 35+ slash commands organized by category:

Headings

/h1 through /h6 - Insert headings of different sizes

Block Elements

/table - Insert 3-column table template
/code - Fenced code block
/quote - Blockquote
/callout - Note/warning callout block
/collapse - Collapsible section

Links & Media

/link - Hyperlink
/image - Image reference
/footnote - Footnote reference

Lists

/list - Bullet list
/numbered - Numbered list
/task - Checkbox/task list

Text Formatting

/bold, /italic, /strikethrough, /underline
/inlinecode, /highlight, /subscript, /superscript

Date & Time

/date - Today's date (ISO format)
/time - Current time
/datetime - Full timestamp
/pickdate - Open date picker

Math

/math - Inline LaTeX formula
/mathblock - Display LaTeX formula

Tip: Type just the first few letters to filter commands (e.g., /ta shows Table and Task). The cursor is automatically placed at the most useful position after inserting a command.