Skip to content

Instantly share code, notes, and snippets.

@RecentRunner
RecentRunner / kanata.lsp
Created May 18, 2023 19:52
Kanata config for vim-like movement upon holding capslock
#|
Harkamal Randhawa 2023-05-18
run with "kanata -c kanata.lsp" on linux
Based off of the minimal kanata minimal config and heavily copied from https://github.com/jtroo/kanata/blob/main/docs/config.adoc
On quick tap the Caps lock key will act normally, however on hold it will swap hjkl to the arrow keys to fit vim's standard keys
If you want to change the key which will trigger the swap just replace "caps" with whichever key you wish.