Emacs bindings in the editor

I did find a post related here; however, it has yet to be updated and does not seem to have much traction, so I am creating a new feature request with the hope of this being the main source.

Use case or problem

With Obsidian being largely first a markdown text editor, it is important to be efficient with inserting, deleting, and writing text; however, using simple arrows and mouse clicks dramatically reduces my workflow and efficiency. Emacs is a well-known and efficient non-modal text editor used by many that comes with its own set of keybindings to enable efficient text modifications.

Proposed solution

Obsidian currently supports Vim keybindings for text editing through CodeMirror found here. CodeMirror also supplies an interface for Emacs keybindings found here.

Now, it is understood that Obsidian also uses Ctrl+[…] keybindings natively to navigate the application; however, these are configurable and would be a tradeoff for those looking to use Emacs keybindings as the first-class interface; therefore, a warning can be issued before enabling, etc.

The issue CodeMirror faces is predominantly with the Ctrl+W and Ctrl+N keys (base keybindings of Emacs) due to browsers taking precedence; however, since Obsidian is a standalone application, this should not be an issue, assumingly.

Related feature requests

Again, there is one other feature request available here, but it seems dead; so, I created this one in hopes of gaining some traction.

3 Likes