--- tags: hackbar title: hackbar usage --- :::info 繁中版本:https://hackmd.io/@uier/hackbar-tc ::: # hackbar usage ### Basic - Press <kbd>⌘</kbd>+<kbd>k</kbd> (Mac) / <kbd>Ctrl</kbd>+<kbd>k</kbd> (Windows & Linux) to open kbar. - Directly search things. Open note by title/tag, create note from template, team name. ### Shortcuts - Press <kbd>+</kbd> to navigate to note creating view. - Press <kbd>@</kbd> to navigate to team switching view. - Shortcuts also work (and It's recommended to use them) when kbar is closed. ### Detail WIP ### Permission hackbar doesn't require any permission, we fetch HackMD data by the following URLs: - `GET /me`: To get teams information - `GET /api/overview`: To get all notes in my workspace - `GET /api/_/history`: To get recent notes - `GET /api/_/search`: To search notes - `GET /template`: To get templates - `GET /new`: To create new empty note - `POST /template/<templateId>`: To create new note from template