This plugin enables Helix keybindings in Obsidian.md using the Helix CodeMirror6 extension by jrvidal. This plugin simply adds the extension to the editor, all credit goes to jrvidal for actually implementing the extension.
Keep in mind the CM6 extension is in a very early stage of development.
Because this plugin isn't oficially in the Obsidian plugin list (yet), you must install it directly from the repo. Two ways to do this are using BRAT or manually.
- Install BRAT
- Copy the link to this Git repository
- Follow these instructions
- Clone the repository into
<your vault directory>/.obsidian/plugins
and then run:
$ npm i
$ npm run build
- Go to Settings in Obsidian and enable
Helix Keybindings
.
- Make sure Vim keybindings are disabled in
Options->Editor->Advanced
. - Enable Helix keybindings in the plugin settings or toggle them via the command.
By default, the cursor color is the accent color. You can set it to another color by creating a custom CSS snippet for your vault, such as this:
.cm-hx-block-cursor .cm-hx-cursor {
background: red !important;
}