~ruther/qmk_firmware

ref: f150258e5ab6bf04c2e724389465f7a8ef5759ef qmk_firmware/users/xtonhasvim/readme.md -rw-r--r-- 717 bytes
f150258e — skyloong [Keyboard] Skyloong GK61 Pro 48 (#21654) 1 year, 6 months ago

#Xton has Vim!

Contains common code for Xton's vim emulation (vimulation?) layer.

Inspired/stolen from the ergodox_ez/vim keymap. Rewritten to be a more straightforward state machine and support more macros. Vim layers _CMD and _EDIT are designed to lay on top of an otherwise fully-functional layout. _CMD runs the entire vim state machine while _EDIT should lay across your base layer and mask off just the escape key.

Works via OSX text editing shortcuts, mainly MOD+arrow combinations. This has some limitations and only works on OSX.

The _CMD layer will temporarily disable itself while CMD or ALT are held down so that typical OSX shortcuts can be used without switching out of vim mode.

Do not follow this link