开发者

Mapping the caps lock key win vim

开发者 https://www.devze.com 2023-02-01 19:03 出处:网络
I am trying to map the caps lock key to开发者_StackOverflow do an action in MacVIM, but I cannot figure out how to map that key.It is not possible (unlessthere are big changes in mac version): vim use

I am trying to map the caps lock key to开发者_StackOverflow do an action in MacVIM, but I cannot figure out how to map that key.


It is not possible (unless there are big changes in mac version): vim uses outdated byte queue instead of keypress queue and CapsLock is not represented by any byte sequence.

// It is still possible to configure your system so that CapsLock will produce something that can be captured by vim.


This SO question: Using Caps Lock as Esc in Mac OS X has some suggestions, which they characterize as a choice between "a complicated, half-baked solution or installing a third-party piece of hackery."

0

精彩评论

暂无评论...
验证码 换一张
取 消