2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

MacのChromeでmeta keyとしてoption keyを使ってEmacs key-bind

Last updated at Posted at 2021-06-14

はじめに

もともとvimiumをゆるく使ってたんですが、emacsユーザーなので、emacsライクにブラウジングしたいなぁと思い始めました。

調べてみるとvimiumのemacs版作ってくれてる人いました。ありがたや~。
ただ、meta keyをoption keyにしたいので、設定変更しました。

Emacsユーザ向けChrome拡張機能を公開してみた - Qiita
Chromemacs - Chrome ウェブストア
GitHub - maeda-kazuya/chromemacs: Chrome extension for Emacs keybind navigation, forked from Vimium.

設定変更

Options

拡張をインストールして、下記2箇所をOptionsで設定変更します。

ignore keyboard layout

よくわかってないけど、これにチェックを入れます。
Ignore keyboard layout

image.png

keymap

コマンドキーで登録されているものをoptionキーに切り替えます。

# Insert your preferred key mappings here.
map <a-v> scrollPageUp
unmap <m-v>

map <c-a-b> goBack
map <c-a-f> goForward
unmap <c-m-b>
unmap <c-m-f>

image.png

おわりに

これで、快適Emacsライフを送れます。

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?