qmk-firmware/users/xtonhasvim
xton 3892829d74 Keymap: xtonhasvim updates (#3768)
* cherrypicking file changes just for updates

* removed unused heat foo

* avoid defining own min/max

* add license

* formatting
2018-08-28 16:54:17 -07:00
..
fancylighting.c Keymap: xtonhasvim updates (#3768) 2018-08-28 16:54:17 -07:00
fancylighting.h Keymap: xtonhasvim updates (#3768) 2018-08-28 16:54:17 -07:00
readme.md Xton's first keymap! (#2941) 2018-05-12 08:52:11 -07:00
rules.mk Keymap: xtonhasvim updates (#3768) 2018-08-28 16:54:17 -07:00
xtonhasvim.c Keymap: xtonhasvim updates (#3768) 2018-08-28 16:54:17 -07:00
xtonhasvim.h Keymap: xtonhasvim updates (#3768) 2018-08-28 16:54:17 -07:00

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.