From 98ac32b4174f7ec814fed6c094ab4e37867706b0 Mon Sep 17 00:00:00 2001 From: Benny Powers Date: Tue, 12 Dec 2017 04:06:05 +0200 Subject: Vim Layout for Ergodox-EZ (mac only) (#2112) * ignore libs * Clang complete file * Add VIM_A, VIM_S, VIM_COMMAND_SHIFT_D, and VIM_COMMAND_SHIFT_A Add VIM_A, VIM_S, VIM_COMMAND_SHIFT_D, and VIM_COMMAND_SHIFT_A a s O * Comment blocks for minimap generated at http://patorjk.com/software/taag/#p=display&h=0&v=0&c=c&f=Banner&t=COMMENT * Be explicit * More Comment blocks * Add J * add A, C, D, J, S, O * Make h j k l explicitly vim commands (useful for JOIN) * add cb ce cw ch cj ck cl db de dw dh dj dk dl vb ve vh vj vk vl x ciw diw viw * debug messages for ci di vi * Var capitalized * Save bytes by disabling mouse keys * Add Y P * Be more explicit about which key was pressed * Be more explicit about which key was sent * Move project to new directory structure * Remove non-vim layout folder * Replace KC_TRNS with KC_NO on normal layer * Insert Mode as default * Try to prevent crashes * Put normal mode back * Revert "ignore libs" This reverts commit 4c5d7592d6c1b70e689c0b9400afca19c71970a7. * add rules.mk * Add mouse bindings * Checkout most recent keymap following rebase * Realign mouse button keys * Make a macro for TO(NORMAL_MODE) --- keyboards/ergodox_ez/keymaps/vim/config.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 keyboards/ergodox_ez/keymaps/vim/config.h (limited to 'keyboards/ergodox_ez/keymaps/vim/config.h') diff --git a/keyboards/ergodox_ez/keymaps/vim/config.h b/keyboards/ergodox_ez/keymaps/vim/config.h new file mode 100644 index 0000000000..1292859501 --- /dev/null +++ b/keyboards/ergodox_ez/keymaps/vim/config.h @@ -0,0 +1,10 @@ +#ifndef CONFIG_USER_H +#define CONFIG_USER_H +#endif + +#define NORMAL_MODE 0 +#define INSERT_MODE 1 +#define SYMB 2 +#define MOUSE 3 + +#include "../../config.h" -- cgit v1.2.3