This plugin provides advanced auto-completion functionality for obsidian. Legacy editor not supported.
- Latex support
- No need to start with a
\
- Includes all MathJax commands
- Allows
\begin...
completion for all environments - Support for inserting snippets with placeholders
- No need to start with a
- YAML Front Matter support
- Learns any key with any value and provides completions for them
- Word list support
- Load files where each line is a word
- Performant, even with very big lists
- Scanning your vault for words
- Scans the current file or your whole vault to find new words which can then be suggested
Browse the community plugins list and search for Completr
.
- Download
main.js, styles.css
andmanifest.json
from a release of your choice - Copy the three files to your vault
VaultFolder/.obsidian/plugins/obsidian-completr/
- Restart obsidian to ensure internal hooks can get registered properly
- Check out the hotkeys section to further configure the plugin
- You can blacklist any suggestion by adding it to the
.obsidian/plugins/obsidian-completr/blacklisted_suggestions.txt
file - Alternatively, you can use the hotkey to blacklist the currently selected suggestion (Default
Shift+D
)
- All default LaTeX commands can be found in the
.obsidian/plugins/obsidian-completr/latex_commands.json
file - You can add, remove or modify commands by editing this file
- Replacement syntax
#
is a placeholder for snippets~
marks the cursor position to jump to. This cannot be on the same line as a placeholder\n
is a newline
- If the file contains incorrect syntax, a notice will pop up and the console will contain a more detailed error message
- All hotkeys are changeable from the hotkeys settings page
- The "bypass" hotkeys are useful to run actions which pretend that the popup isn't open.
- If for example your insertion key is
Enter
, you couldn't press enter to go to the next line while the popup is open. This is where you could use the bypass key. - This also allows for other modifiers to be used, for example pressing
Tab
might require holdingShift
to move backwards. Only modifiers which are not used in the bypass keybinding will be forwarded. - Note: The default bypass hotkeys might be shadowed by a built-in command. Check your keybindings if they don't work.
- If for example your insertion key is
- If you want to change a hotkey without using any modifier, you need to use a workaround which can be found here or here, as Obsidian currently does not support this.
- Clone the repo to the
plugins
folder of an obsidian vault - Run
npm i
andnpm run dev
- Enable the plugin in obsidian