README file from
GithubObsidian Helix Keybindings
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.
Installation
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.
Via BRAT
- Install BRAT
- Copy the link to this Git repository
- Follow these instructions
Manually
- Clone the repository into
<your vault directory>/.obsidian/pluginsand then run:
$ npm i
$ npm run build
- Restart Obsidian.
- Go to Settings in Obsidian and enable
Helix Keybindings.
Usage
- Make sure Vim keybindings are disabled in
Options->Editor->Advanced. - Enable Helix keybindings in the plugin settings or toggle them via the command.
Customize cursor color
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;
}