VS CodeのEmacsキーバインド化はEmacs Friendly Keymapがよさげ

VS CodeをEmacsキーバインドにする拡張では Emacs Keymap が有名だと思う。

Read me が丁寧で、コンフリクトするキーバインドの置き換え先がリスト化されているのがありがたかった。 (自前でキーバインド変更するとココだいぶ悩む)

しかし、残念ながら Emacs Keymap は メンテされていない っぽい。 代わりに Emacs Keymap を fork した Emacs Friendly Keymap を見つけた。

marketplace.visualstudio.com

本家に加えて(少なくとも)下記の変更が追加されている。

  • The clipboard handling is simplified by the removal of the emacs-only kill ring (which was also an unfinished implementation in the original). Copy, Cut, Yank and C-K work with the system clipboard now.
  • C+x k to close tab, C+x C-k all tabs
  • C+l centers screen on the cursor line
  • C+x C+f bound to quick open file
  • yank overwrites selection

特に1つ目の、ヤンクバッファとシステムのクリップボードを統合してくれるのは欲しかったのでうれしい。

今はまだあまり流行ってないっぽい(インストール数 本家16kに対して約1k)けど、 アクティブにメンテされている正当な後継っぽいので人気出てほしい。