qmk_firmware/users/xtonhasvim
Ryan c6f1b594a2
Remove legacy keycodes, part 2 (#18660)
* `KC_SYSREQ` -> `KC_SYRQ`

And one `KC_ALT_ERASE` -> `KC_ERAS`

* `KC_NONUS_BSLASH` -> `KC_NUBS`

* `KC_NUMLOCK` -> `KC_NUM`

* `KC_CLCK` -> `KC_CAPS`

* `KC_SCROLLLOCK` -> `KC_SCRL`

* `KC_LBRACKET` -> `KC_LBRC`

* `KC_RBRACKET` -> `KC_RBRC`

* `KC_CAPSLOCK` -> `KC_CAPS`
2022-10-10 20:06:26 +01:00
..
fancylighting.c
fancylighting.h
readme.md
rules.mk
xtonhasvim.c
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.