-
Notifications
You must be signed in to change notification settings - Fork 13
/
config.h
91 lines (76 loc) · 2.41 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/* Copyright 2021 Andrew Rae [email protected] @andrewjrae
*
* 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
#ifdef OLED_DRIVER_ENABLE
#define OLED_DISPLAY_128X64
#endif
#ifdef RGBLIGHT_ENABLE
#define RGBLIGHT_ANIMATIONS
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
#endif
// Save firmware space
#undef LOCKING_SUPPORT_ENABLE
#undef LOCKING_RESYNC_ENABLE
#define LAYER_STATE_8BIT
// Enable eeprom hand definitions
#define EE_HANDS
// Defines whether caps word uses shift or caps lock
/* #define CAPSWORD_USE_SHIFT */
// Leader key settings
#define LEADER_DISPLAY_STR
// Vim mode settings
#define USE_VIM // comment this out to disable vim
/* #define VIM_FOR_MAC */
/* #define NO_VISUAL_MODE */
/* #define NO_VISUAL_LINE_MODE */
#define BETTER_VISUAL_MODE // takes more space but behaves more like vim
#define VIM_I_TEXT_OBJECTS
#define VIM_A_TEXT_OBJECTS
#define VIM_G_MOTIONS
#define VIM_COLON_CMDS
#define VIM_PASTE_BEFORE
#define VIM_REPLACE
#define VIM_DOT_REPEAT
#define VIM_W_BEGINNING_OF_WORD
#define VIM_NUMBERED_JUMPS
#define ONESHOT_VIM
// Combo settings
#define COMBO_COUNT 9
#define COMBO_TERM 60
// Tapping settings
#define TAPPING_TERM 200
#define IGNORE_MOD_TAP_INTERRUPT
#define TAPPING_FORCE_HOLD
/* #define PERMISSIVE_HOLD */
// One shot timeout
#define ONESHOT_TIMEOUT 400
// Old key binds to cleanup my non-RSTHD maps
#define MY_ESC LT(_NAV, KC_ESC)
#define MY_BSPC LT(_SYM, KC_BSPC)
#define MY_ENT LT(_NUM, KC_ENT)
#define MY_SPC LT(_NAV, KC_SPC)
#define MY_LSFT OSM(MOD_LSFT)
#define MY_RSFT OSM(MOD_RSFT)
#define MY_RCTL MT(MOD_RCTL, KC_TAB)
#define MY_LALT MT(MOD_LALT, KC_ESC)
#define MY_COPY LCTL(KC_INSERT)
#define MY_PASTE LSFT(KC_INSERT)
// Define some simple vi keys
#define VI_B LCTL(KC_LEFT)
#define VI_W LCTL(KC_RIGHT)
#define VI_U LCTL(KC_Z)