Okay, please here me out on this -- this question is not about using these keys.
Macs come with a JIS keyboard layout that has the following keys 「英数」 and 「かな」 that is used to switch between Japanese and English input. (image below)
I would like to use these two keys to toggle between insert, visual, and normal mode. I tried pressing the 英数 and the かな key with Ctr+V in insert mode, but nothing was showing up so I have no clue about what vim sees when these keys are pressed.
Does anyone know how I can map these two keys to visual/insert mode? If not, I would really appreciate some guidance on at least figuring out what vim sees when these two keys are entered.
my recommendation is using Karabiner
https://karabiner-elements.pqrs.org
You can then map those keys to any key you want. The karabiner-eventviewer can help you find the pressed key easily. I had a JIS keyboard and map the 英数 to command so my left thumb does not need to stretch too much. Good luck
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.