From 3892829d74119b1fe771b4b51c665448a433da1e Mon Sep 17 00:00:00 2001 From: xton Date: Tue, 28 Aug 2018 19:54:17 -0400 Subject: Keymap: xtonhasvim updates (#3768) * cherrypicking file changes just for updates * removed unused heat foo * avoid defining own min/max * add license * formatting --- users/xtonhasvim/xtonhasvim.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'users/xtonhasvim/xtonhasvim.h') 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 -- cgit v1.2.3