# Emacs bindings in the editor

**URL:** <https://forum.obsidian.md/t/emacs-bindings-in-the-editor/734>\
**Category:** Plugins ideas (Archival in progress)\
**Created:** [May 29, 2020, 3:01am UTC](https://forum.obsidian.md/t/emacs-bindings-in-the-editor/734 "2020-05-29T03:01:33Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![tekacs](https://forum.obsidian.md/user_avatar/forum.obsidian.md/tekacs/32/453_2.png) [@tekacs](https://forum.obsidian.md/u/tekacs)\
**Post date:** [May 29, 2020, 3:01am UTC](https://forum.obsidian.md/t/emacs-bindings-in-the-editor/734/1 "2020-05-29T03:01:33Z")

</div>

I use Emacs bindings in my IDE and Vim bindings in Obsidian, at the moment.

I’m pretty familiar with both, but it would be super helpful to have Emacs bindings available in Obsidian (CodeMirror/ProseMirror may have some support?), across platforms like Windows and Linux too.

---

<div class="post-metadata">

**Author:** ![ianjs](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ianjs/32/8635_2.png) [@ianjs](https://forum.obsidian.md/u/ianjs)\
**Post date:** [January 5, 2021, 3:53am UTC](https://forum.obsidian.md/t/emacs-bindings-in-the-editor/734/2 "2021-01-05T03:53:55Z")

</div>

+1 on this.

Joplin has good support for Emacs keybindings, but poor support for [[ internal links.

With an Android app and Emacs it would be easy to move to Obsidian without messing up my muscle memory for typing.

---

<div class="post-metadata">

**Author:** ![taariqq](https://forum.obsidian.md/user_avatar/forum.obsidian.md/taariqq/32/11554_2.png) [@taariqq](https://forum.obsidian.md/u/taariqq)\
**Post date:** [March 12, 2021, 11:00pm UTC](https://forum.obsidian.md/t/emacs-bindings-in-the-editor/734/3 "2021-03-12T23:00:17Z")

</div>

How can you have Vim, but not Emacs keybindings!! ?  
We need it like yesterday.

---

<div class="post-metadata">

**Author:** ![rigmarole](https://forum.obsidian.md/user_avatar/forum.obsidian.md/rigmarole/32/29973_2.png) [@rigmarole](https://forum.obsidian.md/u/rigmarole)\
**Post date:** [March 26, 2021, 5:29am UTC](https://forum.obsidian.md/t/emacs-bindings-in-the-editor/734/4 "2021-03-26T05:29:13Z")

</div>

Just to specifically answer your question, “How can you have VIM”, Vim keybindings (as far as I understand) is only implemented through the [Vim keybindings implementation from CodeMirror](https://codemirror.net/demo/vim.html). And that unfortunately doesn’t have a maintainer.

It isn’t really being developed as a feature of Obsidian, per se.

---

<div class="post-metadata">

**Author:** ![nikodemus](https://forum.obsidian.md/user_avatar/forum.obsidian.md/nikodemus/32/18106_2.png) [@nikodemus](https://forum.obsidian.md/u/nikodemus)\
**Post date:** [August 7, 2021, 11:30am UTC](https://forum.obsidian.md/t/emacs-bindings-in-the-editor/734/5 "2021-08-07T11:30:53Z")

</div>

CodeMirror also has an Emacs bindings package, though some things like C-w just cannot work due to browsers capturing them.

[https://codemirror.net/demo/emacs.html](https://codemirror.net/demo/emacs.html)

---

<div class="post-metadata">

**Author:** ![andersonjwan](https://forum.obsidian.md/user_avatar/forum.obsidian.md/andersonjwan/32/41501_2.png) [@andersonjwan](https://forum.obsidian.md/u/andersonjwan)\
**Post date:** [August 27, 2021, 3:49am UTC](https://forum.obsidian.md/t/emacs-bindings-in-the-editor/734/6 "2021-08-27T03:49:49Z")

</div>

I did find a post related [here](https://forum.obsidian.md/t/emacs-bindings-in-the-editor/734); 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](https://codemirror.net/demo/vim.html). CodeMirror also supplies an interface for Emacs keybindings found [here](https://codemirror.net/demo/emacs.html).

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](https://forum.obsidian.md/t/emacs-bindings-in-the-editor/734), but it seems dead; so, I created this one in hopes of gaining some traction.

---

<div class="post-metadata">

**Author:** ![midas0441](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/a698b9/32.png) [@midas0441](https://forum.obsidian.md/u/midas0441)\
**Post date:** [November 10, 2021, 9:35pm UTC](https://forum.obsidian.md/t/emacs-bindings-in-the-editor/734/7 "2021-11-10T21:35:32Z")

</div>

+1 on this request a hundred times. Emacs keybindings would be amazing. I was not aware that CodeMirror supplies an interface for it.

Is there a reason not to make it available as an option (like Vim keybindings)?

---

<div class="post-metadata">

**Author:** ![ChipMorris](https://forum.obsidian.md/user_avatar/forum.obsidian.md/chipmorris/32/13552_2.png) [@ChipMorris](https://forum.obsidian.md/u/ChipMorris)\
**Post date:** [December 15, 2021, 1:29pm UTC](https://forum.obsidian.md/t/emacs-bindings-in-the-editor/734/8 "2021-12-15T13:29:26Z")

</div>

Another +1. I keep stumbling as my fingers type Emacs when I’m in Obsidian.

---

<div class="post-metadata">

**Author:** ![bens](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/b/9fc348/32.png) [@bens](https://forum.obsidian.md/u/bens)\
**Post date:** [January 5, 2022, 1:49pm UTC](https://forum.obsidian.md/t/emacs-bindings-in-the-editor/734/9 "2022-01-05T13:49:18Z")

</div>

Also +1, Emacs keybindings would make using Obsidian a significantly better experience for me.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [January 5, 2022, 6:44pm UTC](https://forum.obsidian.md/t/emacs-bindings-in-the-editor/734/10 "2022-01-05T18:44:50Z")

</div>

I don’t know if CM6 has an additional emacs keymaps (beyond the regular mac emacsy). Anyway I am going to move this to plugins ideas.

---

<div class="post-metadata">

**Author:** ![rake](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/r/8e8cbc/32.png) [@rake](https://forum.obsidian.md/u/rake)\
**Post date:** [February 10, 2022, 3:47pm UTC](https://forum.obsidian.md/t/emacs-bindings-in-the-editor/734/11 "2022-02-10T15:47:15Z")

</div>

Another +1 for Emacs keybindings. Two things missing that are definitely hindering use:

One is Emacs ctl-K and ctl-Y (Kill & Yank), essentially “Cut current line & Paste”. In Obsidian, ctl-K correctly deletes the rest of the current line, but does not save the cut text so can be pasted with ctl-Y. In Bear, these two keys work great.

Other is being able to use Ctl-space to “set the Mark”, in order to select a region of text.

---

<div class="post-metadata">

**Author:** ![BayesBabe](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/b/4da419/32.png) [@BayesBabe](https://forum.obsidian.md/u/BayesBabe)\
**Post date:** [February 17, 2022, 4:19pm UTC](https://forum.obsidian.md/t/emacs-bindings-in-the-editor/734/12 "2022-02-17T16:19:35Z")

</div>

+1 would be such a great feature!!

---

<div class="post-metadata">

**Author:** ![freizhang](https://forum.obsidian.md/user_avatar/forum.obsidian.md/freizhang/32/26560_2.png) [@freizhang](https://forum.obsidian.md/u/freizhang)\
**Post date:** [February 23, 2022, 12:08pm UTC](https://forum.obsidian.md/t/emacs-bindings-in-the-editor/734/13 "2022-02-23T12:08:27Z")

</div>

+1 for the emacs key binding!

---

<div class="post-metadata">

**Author:** ![RickE19999](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/r/9d8465/32.png) [@RickE19999](https://forum.obsidian.md/u/RickE19999)\
**Post date:** [March 19, 2022, 8:09pm UTC](https://forum.obsidian.md/t/emacs-bindings-in-the-editor/734/14 "2022-03-19T20:09:44Z")

</div>

+1  
Currently I can right click on the note in explorer view and click open in default app which starts Emacs on the .md file. I edit as desired, save, exit, return to Obsidian. Sometimes the pane is updated, sometimes it’s closed. This works fine until I forget that I’m not in Emacs and start opening new notes (C-n) and selecting all the text (C-a) and over writing it as I start typing. Fortunately C-z works.

I’m new to Obsidian; so, if there’s a way to automatically invoke Emacs when editing a note, please let me know.

PS: I’m on Windows, but will migrate to Linux someday.

---

<div class="post-metadata">

**Author:** ![TIE-Fighter](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/t/f1d935/32.png) [@TIE-Fighter](https://forum.obsidian.md/u/TIE-Fighter)\
**Post date:** [April 1, 2022, 3:42am UTC](https://forum.obsidian.md/t/emacs-bindings-in-the-editor/734/15 "2022-04-01T03:42:13Z")

</div>

Not a solution but a workaround for ubuntu linux users:

1. enable system-wide emacs keybinding: [https://www.reddit.com/r/emacs/comments/18hz8k/emacs\_key\_bindings\_everywhere\_in\_ubuntu/](https://www.reddit.com/r/emacs/comments/18hz8k/emacs_key_bindings_everywhere_in_ubuntu/)
2. disable obsidian’s shortcut for bolding and closing windows
3. enable obsidian’s vim key-binding (common emacs keys like C+f, C+b, etc should work too, at least for me!)

---

<div class="post-metadata">

**Author:** ![seungjin](https://forum.obsidian.md/user_avatar/forum.obsidian.md/seungjin/32/28436_2.png) [@seungjin](https://forum.obsidian.md/u/seungjin)\
**Post date:** [April 6, 2022, 2:39am UTC](https://forum.obsidian.md/t/emacs-bindings-in-the-editor/734/16 "2022-04-06T02:39:19Z")

</div>

+1  
People keep asking this feature.

---

<div class="post-metadata">

**Author:** ![ghodith](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/g/bb73d2/32.png) [@ghodith](https://forum.obsidian.md/u/ghodith)\
**Post date:** [April 20, 2022, 1:36am UTC](https://forum.obsidian.md/t/emacs-bindings-in-the-editor/734/17 "2022-04-20T01:36:15Z")

</div>

+1  
Please add this feature. It’s central to my editing experience.

---

<div class="post-metadata">

**Author:** ![namingishard](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/n/43a26b/32.png) [@namingishard](https://forum.obsidian.md/u/namingishard)\
**Post date:** [May 19, 2022, 7:10pm UTC](https://forum.obsidian.md/t/emacs-bindings-in-the-editor/734/18 "2022-05-19T19:10:44Z")

</div>

+1. This is the main reason I am still using emacs for longer more involved notes

---

<div class="post-metadata">

**Author:** ![sarcasm](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/s/c67d28/32.png) [@sarcasm](https://forum.obsidian.md/u/sarcasm)\
**Post date:** [June 7, 2022, 2:28pm UTC](https://forum.obsidian.md/t/emacs-bindings-in-the-editor/734/19 "2022-06-07T14:28:17Z")

</div>

+1, still struggling with incomplete support of emacs keybindings on mac.

---

<div class="post-metadata">

**Author:** ![coisale13](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/c/f17d59/32.png) [@coisale13](https://forum.obsidian.md/u/coisale13)\
**Post date:** [July 21, 2022, 9:18pm UTC](https://forum.obsidian.md/t/emacs-bindings-in-the-editor/734/20 "2022-07-21T21:18:25Z")

</div>

+1  
You can get some of the way there using other plugins, however, integral features like ‘set mark’ are still missing.

[Next page](https://forum.obsidian.md/t/emacs-bindings-in-the-editor/734.md?page=2)
