summaryrefslogtreecommitdiff
path: root/keyboards/ergodox_ez/keymaps/vim/vim.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ergodox_ez/keymaps/vim/vim.h')
-rw-r--r--keyboards/ergodox_ez/keymaps/vim/vim.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/keyboards/ergodox_ez/keymaps/vim/vim.h b/keyboards/ergodox_ez/keymaps/vim/vim.h
index 7565c6e3e6..2f3b859943 100644
--- a/keyboards/ergodox_ez/keymaps/vim/vim.h
+++ b/keyboards/ergodox_ez/keymaps/vim/vim.h
@@ -94,15 +94,15 @@ void CMD(uint16_t keycode) {
}
void CTRL(uint16_t keycode) {
- PRESS(KC_LCTRL);
+ PRESS(KC_LCTL);
TAP(keycode);
- RELEASE(KC_LCTRL);
+ RELEASE(KC_LCTL);
}
void SHIFT(uint16_t keycode) {
- PRESS(KC_LSHIFT);
+ PRESS(KC_LSFT);
TAP(keycode);
- RELEASE(KC_LSHIFT);
+ RELEASE(KC_LSFT);
}
void ALT(uint16_t keycode) {
@@ -309,9 +309,9 @@ void VIM_YANK_LINE(void) {
print("\e[31mY\e[0m");
VIM_LEADER(KC_NO);
CMD(KC_LEFT);
- PRESS(KC_LSHIFT);
+ PRESS(KC_LSFT);
CMD(KC_RIGHT);
- RELEASE(KC_LSHIFT);
+ RELEASE(KC_LSFT);
CMD(KC_C);
}
@@ -432,9 +432,9 @@ void VIM_DELETE_WHOLE_LINE(void) {
print("\e[31md\e[0m");
VIM_LEADER(KC_NO);
CMD(KC_LEFT);
- PRESS(KC_LSHIFT);
+ PRESS(KC_LSFT);
CMD(KC_RIGHT);
- RELEASE(KC_LSHIFT);
+ RELEASE(KC_LSFT);
CMD(KC_X);
}
@@ -464,7 +464,7 @@ void VIM_DELETE_BACK(void) {
PRESS(KC_LALT);
SHIFT(KC_LEFT); // select to start of word
SHIFT(KC_DEL); // delete selection
- RELEASE(KC_LSHIFT);
+ RELEASE(KC_LSFT);
}
/**