--- tags: hackbar title: hackbar usage (zh-tw) --- :::info Eng. version: https://hackmd.io/@uier/hackbar ::: # hackbar usage ### 基本操作 - 按下 <kbd>⌘</kbd>+<kbd>k</kbd> (Mac) / <kbd>Ctrl</kbd>+<kbd>k</kbd> (Windows & Linux) 打開 kbar. - 直接輸入以搜尋筆記,搜尋會依據筆記名稱、標籤、團隊名稱,另外也會搜尋跟輸入相關的模板、團隊 ### Shortcuts - 按下 <kbd>+</kbd> 會直接打開新增筆記的 kbar,從中選擇空筆記或模板 - 按下 <kbd>@</kbd> 會直接打開切換團隊的 kbar,從中可以快速切換團隊 - 不用開啟 kbar 也可以使用快捷鍵(應該說這才是開發者想設計的功能 XD) ### 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