/microwiki

Supercharge Micro with wiki links, tabbed navigation, and other vimwiki features

Primary LanguageLuaISC LicenseISC

microwiki

Like vimwiki but for micro

Features

  • Extend markdown syntax
  • Alt-Enter: Open file in new tab. If the file does not exist, it will create it. Ideally would use Ctrl-Enter, but zyedidia/micro#1328.
  • Alt-Backspace: Save current file and close tab. I would use Ctrl-Backspace, but that doesn't work.
  • Ctrl-Space: Gives file autocompletion when cursor is inside a [[wiki link]] based on the current file and the contents of the [[wiki link]] i.e. <current dir>/<wiki link>/. If the wiki link is empty ([[]]), it will suggest files and directories at <current dir>/. If the wiki link is [[Class notes]], it will suggest files and directories at <current dir>/Class notes/.
  • Tab: When inside a wiki link, go to next wiki link.
  • Shift-Tab: When inside a wiki link, go to previous wiki link.

TODO

  • File management commands like remove (wd or rm) and rename (wr or rn)?
  • Shift-Alt-Enter: Vertical split and follow wiki link?

Useful links

Links might be useful for plugin development.

Micro v2 plugins

Micro v1 plugins