summaryrefslogtreecommitdiffstats
path: root/keyboards/lets_split/keymaps/vim-mode/config.h
diff options
context:
space:
mode:
authorRiley Weber <rileyw13@protonmail.com>2019-03-18 19:51:24 +0100
committerDrashna Jaelre <drashna@live.com>2019-03-18 19:51:24 +0100
commitd63f954b25624de5477a707f449beead90182e17 (patch)
treedc73307e49a0e3f7ba9eaf169c42ed0cb6945bcc /keyboards/lets_split/keymaps/vim-mode/config.h
parent99a8628383803d25c07d3f170ce5791da2c80a51 (diff)
downloadqmk_firmware-d63f954b25624de5477a707f449beead90182e17.tar.gz
qmk_firmware-d63f954b25624de5477a707f449beead90182e17.tar.xz
[Keymap] Add vim-style keymap for lets split (#5399)
* initial commit * initial commit * fixed indents * spelling, capitalization, and order. * added dota mode keymap, removed old comments * fixed default keymap always having tilde, instead of grave accent and tilde. Improved dota keymap. * lower does not change backspace to delete anymore * corrected pgup/pgdown * changed period on lower from numpad dot to regular dot * added colemak and dvorak * made colemak/dvorak border keys consistent with querty * updated to match current practices, added custom metakeys for dvorak and colemak * added disclaimer about audio * renamed to lowercase * replaced include guards with #pragma once Co-Authored-By: rileyweber13 <rileyw13@protonmail.com> * removed unncessary include Co-Authored-By: rileyweber13 <rileyw13@protonmail.com> * removed defines included in core Co-Authored-By: rileyweber13 <rileyw13@protonmail.com> * replace defines with an enum, switched from custom function to set_single_persistent_default_layer * removed ifndef/include/endif left over from previous build system * removed unnecessary ifdef block * updated soungs to work with set_single_persistent_default_layer
Diffstat (limited to 'keyboards/lets_split/keymaps/vim-mode/config.h')
-rw-r--r--keyboards/lets_split/keymaps/vim-mode/config.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/keyboards/lets_split/keymaps/vim-mode/config.h b/keyboards/lets_split/keymaps/vim-mode/config.h
new file mode 100644
index 000000000..25512a5c9
--- /dev/null
+++ b/keyboards/lets_split/keymaps/vim-mode/config.h
@@ -0,0 +1,39 @@
+/*
+This is the c configuration file for the keymap
+
+Copyright 2012 Jun Wako <wakojun@gmail.com>
+Copyright 2015 Jack Humbert
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#pragma once
+
+// comment the following lines if sounds are not desired
+#define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
+ SONG(COLEMAK_SOUND), \
+ SONG(DVORAK_SOUND) \
+ }
+
+/* Use I2C or Serial, not both */
+
+#define USE_SERIAL
+// #define USE_I2C
+
+/* Select hand configuration */
+
+#define MASTER_LEFT
+// #define MASTER_RIGHT
+// #define EE_HANDS
+