diff options
author | xton <cmdpix@mac.com> | 2018-08-28 19:54:17 -0400 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-08-28 16:54:17 -0700 |
commit | 3892829d74119b1fe771b4b51c665448a433da1e (patch) | |
tree | 7c871491e2ffd3dd0fc3adcf1fa83b2cce859cd4 /users/xtonhasvim/xtonhasvim.h | |
parent | 3c209830558c5911ed7446c026ba4d38fdbfe83e (diff) |
Keymap: xtonhasvim updates (#3768)
* cherrypicking file changes just for updates
* removed unused heat foo
* avoid defining own min/max
* add license
* formatting
Diffstat (limited to 'users/xtonhasvim/xtonhasvim.h')
-rw-r--r-- | users/xtonhasvim/xtonhasvim.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/users/xtonhasvim/xtonhasvim.h b/users/xtonhasvim/xtonhasvim.h index 21b794c033..5ff4932a48 100644 --- a/users/xtonhasvim/xtonhasvim.h +++ b/users/xtonhasvim/xtonhasvim.h @@ -26,6 +26,7 @@ bool process_record_xtonhasvim(uint16_t keycode, keyrecord_t *record); enum xtonhasvim_keycodes { DUMMY = SAFE_RANGE, + FIREY_RETURN, // kick off special effects VIM_START, // bookend for vim states VIM_A, VIM_B, @@ -57,10 +58,10 @@ enum xtonhasvim_keycodes { VIM_SAFE_RANGE // start other keycodes here. }; -enum xtonhasvim_layers { - _EDIT = 12, - _CMD -}; +// NOTE: YOU MUST DEFINE THIS +extern uint8_t vim_cmd_layer(void); + +extern uint16_t vstate; #endif |