This is a repo containing some stuff that I use when writing my obsidian vault in neovim. It contains
- An obsidian syntax file for neovim
- Telescope plugin for creating links to files/heading/text blocks
- Telescope plugin to create links inside Mathjax inline or blocks!
- Telescope picker for files
This setup uses the following plugins:
- workspaces.nvim: activate obsidian stuff when entering wiki workspace
- telescope.nvim: picker for creating links to files/heading/text blocks (also works inside math), picker for opening files
- hologram.nvim: Previewing files inside of neovim & kitty
- clipboard-image.nvim: Pasting images inside of neovim
- Which-key.nvim: Creating bindings
- LuaSnip: for creating links inside math blocks
- vimtex: for fancy math syntax
This setup includes a Telescope picker that creates mathlinks in obsidian using luasnip.
At the beginning of each file there is a metadata mathlink
tag where possible "math aliases" are stored.
When using the telescope picker the mathlink gets input as a luasnip snippet.
actual mathlink with preview: The code that is used to generate the math link is highlighted on the left, the output in obsidian is on the right. The pink highlighted markdown is being hovered over in the picture.
Note: In order to use the math links in obsidian see obsidian-mathlinks.
- add more obsidian syntax