20251104-no_escape.md (1526B)
1 --- 2 title: no escape 3 keywords: [linux, tips] 4 ... 5 6 For as long as I have been using {neo,}vim I have switched Capslock to Escape. I found it is a much nicer position. I have also used various methods to change Capslock to Ctrl if held and Escape if tapped. I have achieved this though software such as [xcape][xcape] or more recently configuring the keyboard firmware where possible. 7 8 Recently I purchased a cheap bluetooth keyboard to use with my tablet, I opted for the [RoyalKludge RK68][royalkludge] as it is a good size/format. What I didn't count on is the lack of functionality in the propriety firmware. Unlike [VIA/QMK][via] or [ZWK][zmk] firmware which I have on my other boards, the RoyalKludge firmware doesn't have the ability to set a "mod-tap" key. 9 10 At first I tried setting Capslock to Escape and using the normal left Ctrl key. That didn't work very well for me so I started to look for alternatives. That is when I discovered the key combination `Ctrl-[` is the equivalent to pressing Escape. This is Linux functionality so works across the system. 11 12 While I still prefer having my mod-tap function, after a bit of time with the RK68 keyboard I have been able to fit this alternative into my flow and it will suffice for the amount of time I would need to use the keyboard with my tablet. 13 14 [xcape]: https://github.com/alols/xcape 15 [royalkludge]: https://rkgamingstore.com/products/rk68-68-wireless-gaming-keyboard 16 [via]: https://docs.qmk.fm/mod_tap#mod-tap 17 [zmk]: https://zmk.dev/docs/behaviors/mod-tap