Skip to content

Map the keys composed with Option

Dahan Gong edited this page Feb 24, 2022 · 5 revisions

Background

The macOS system usually maps Option (Alt) + Printable character keys to some infrequent symbols. For examples, Option + S means ß (#1).

Ignore system-level mapping

This feature often causes Vimium C get wrong key names, so Vimium C has an option named Ignore keyboard layout to avoid influence of keyboard layouts.

With this checked, Vimium C will always translate your keyboard actions using a English QWERTY-style layout (and also ignore status of CapsLock).

Ignore system-level mapping when Option is pressed

In some situation, the option seems to cause a much stronger constraint than users want. Then since v1.88.0, this option can be partly-checked, and provide a new way to ignore layouts only when Option (Alt) is being pressed.

Test for this system-level mapping

  • open https://gdh1995.cn/vimium-c/keyboard-test.html
  • click Vimium C's extension icon (at the top-right corner) and click "disable once" to make Vimium C temporarily disabled on the page
  • enable "Prevent all keyboard events" if you want to test a non-printable (composed) key; otherwise disable the checkbox
  1. then press keys like K and Alt+C to see what it will show.

Reference

  1. https://www.webnots.com/option-or-alt-key-shortcuts-to-insert-symbols-in-mac-os-x/
  2. Wiki: How to use in another keyboard layout