Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Vim keybinding mode #331

Answered by tommoor
thedeveloperr asked this question in Ideas
Discussion options

You must be logged in to vote

Hi, you should provide this functionality as an extension – we could potentially include it in the main repo as an optional add-on once complete if you're interested. In terms of how to achieve this I'd follow the pattern set out here:

https://github.com/outline/rich-markdown-editor/blob/develop/src/plugins/Keys.ts

In the context of the extension you have this.editor.commands which should contain everything you need. You can then pass the resulting extension to the extensions prop on the editor.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tommoor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants