-
Notifications
You must be signed in to change notification settings - Fork 12
Helix Usage Guide
First, the iwes
binary needs to be available on your system $PATH
. Please see the installation instructions and pick your preferred method of installation. I recommend the AUR for Arch users.
Next, you'll need to add iwe
as an LSP and enable it for files.
# `$HOME/.config/helix/languages.toml`
[language-server.iwe]
command = "iwes"
[[language]]
name = "markdown"
language-servers = ["iwe"]
# You can add other LSPs here, too:
# language-servers = ["iwe", "marksman"]
# NOTE: You may consider disabling
# autoformat if you're having issues
# with tables!
auto-format = true
You probably don't want iwe
enabled for every Markdown file you ever open. For example, you may not want its features when you're working on README files for different projects. In that case, I recommend Helix's project-specific configuration feature. In you root of your notes directory, you can create a folder called .helix
, add a file called languages.toml
and put the setup snippet in there.
Please refer to the cheat sheet for a quick reference.
TODO: add specific examples and keybindings in Helix TODO: document Helix-specific quirks (e.g. need to manually delete buffer after inlining a section)