summaryrefslogtreecommitdiff
path: root/keyboards/ergodox_ez/keymaps/vim/config.h
diff options
context:
space:
mode:
authorBenny Powers <bennypowers@users.noreply.github.com>2017-12-12 04:06:05 +0200
committerJack Humbert <jack.humb@gmail.com>2017-12-11 21:06:05 -0500
commit98ac32b4174f7ec814fed6c094ab4e37867706b0 (patch)
treee0c3e85bd49e9614a04c6785a978539b84344bff /keyboards/ergodox_ez/keymaps/vim/config.h
parenteeb64437673c0f5c16f0ddf1e2a8362be81b615a (diff)
downloadqmk_firmware-98ac32b4174f7ec814fed6c094ab4e37867706b0.tar.gz
qmk_firmware-98ac32b4174f7ec814fed6c094ab4e37867706b0.zip
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)
Diffstat (limited to 'keyboards/ergodox_ez/keymaps/vim/config.h')
-rw-r--r--keyboards/ergodox_ez/keymaps/vim/config.h10
1 files changed, 10 insertions, 0 deletions
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"