qmk_firmware/users/xtonhasvim
Ryan 74223c34a9
Remove legacy keycodes, part 6 (#18740)
* `KC_RSHIFT` -> `KC_RSFT`

* `KC_RCTRL` -> `KC_RCTL`

* `KC_LSHIFT` -> `KC_LSFT`

* `KC_LCTRL` -> `KC_LCTL`
2022-10-16 14:14:40 +01:00
..
fancylighting.c
fancylighting.h
readme.md
rules.mk
xtonhasvim.c Remove legacy keycodes, part 6 (#18740) 2022-10-16 14:14:40 +01:00
xtonhasvim.h

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.