VS Code keymap for Obsidian

Sep 24, 2021

I recently got the chance to try out Obsidian, and while it’s still in dire need of some UX polish, it strikes me as a very promising project that aligns well with my personal philosophy of what a notes app should do. Perhaps one day it will replace Bear as my favorite notes app.

While the editor looks superficially like the one in Visual Studio Code it differs quite a bit in its default keyboard shortcuts, which is annoying if you use both apps regularly. Obsidian’s shortcut system is not quite as sophisticated as Code’s (for instance, key sequences are not supported) but I’ve done what I can to make Obsidian behave more Code-like. In particular, remapping the quick switcher and command palette to Cmd+P and Cmd+Shift+P, respectively, is a small change that makes a big difference.

Here’s my current Obsidian keymap customizations. You can copy some or all of them into .obsidian/hotkeys.json inside each vault.