| .gitignore | ||
| LICENSE.md | ||
| main.ts | ||
| manifest.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| yarn.lock | ||
Defaults
- There should be a file
Inboxat the root of the vault. - When you use the associated shortcut a modal opens up to pasete your thought.
- Presss
Ctrl+Enterto add it toInbox
Setup for OS to associate shortcut key
Set up a global hotkey using an external tool:
For Windows:
You can use a tool like AutoHotkey to set up a global hotkey. Follow these steps:
- Install AutoHotkey from https://www.autohotkey.com/.
- Create a new text file with the extension
.ahk, e.g.,ObsidianQuickCapture.ahk. - Add the following script to the file (replace
^!cwith your preferred hotkey combination, e.g.,^!cstands for Ctrl + Alt + C):
^!c::
Run, obsidian://quick-capture
return
- Double-click the
.ahkfile to run the script. The global hotkey should now be active.
For macOS:
You can use a tool like BetterTouchTool or Keyboard Maestro to set up a global hotkey. Here's how to do it with BetterTouchTool:
- Install BetterTouchTool from https://folivora.ai/.
- Open BetterTouchTool and go to the "All Apps" section.
- Click on the "+" button to add a new global shortcut.
- Press the desired key combination for the hotkey.
- In the "Trigger Predefined Action" dropdown, select "Controlling Other Applications" > "Open URL / Open URL with Selection".
- Enter the custom URL
obsidian://quick-captureand click "Save".
Now the global hotkey should be active and trigger the plugin command from anywhere in your operating system.
For ubuntu On Ubuntu 22.04, you can set up a global hotkey to trigger the Obsidian plugin command using the built-in keyboard shortcut settings.
-
Open the "Settings" application.
-
Click on "Keyboard & Mouse" in the left sidebar.
-
Click on the "Customize Shortcuts" button.
-
Scroll down to the "Custom Shortcuts" section and click the "+" button to add a new shortcut.
-
In the "Add Custom Shortcut" dialog, enter the following information:
- Name:
Obsidian Quick Capture - Command:
xdg-open "obsidian://quick-capture"
- Name:
-
Click the "Add" button to create the custom shortcut.
-
Click on the "Disabled" text next to the new shortcut in the list. Press the desired key combination for the hotkey (e.g., Ctrl + Alt + C).
-
Close the settings application.
Now the global hotkey should be active and trigger the plugin command from anywhere in your operating system.