summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
Diffstat (limited to 'users')
-rw-r--r--users/xtonhasvim/xtonhasvim.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/users/xtonhasvim/xtonhasvim.c b/users/xtonhasvim/xtonhasvim.c
index 0ec331b684..a2ff2fa31c 100644
--- a/users/xtonhasvim/xtonhasvim.c
+++ b/users/xtonhasvim/xtonhasvim.c
@@ -384,6 +384,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
simple_movement(keycode);
CMD(KC_X);
yank_was_lines = false;
+ vstate = VIM_START;
break;
case VIM_D:
CMD(KC_LEFT);
@@ -467,6 +468,10 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
SHIFT(KC_LEFT); // select to start of next word
RELEASE(KC_LALT);
break;
+ case VIM_P:
+ CMD(KC_V);
+ vstate = VIM_START;
+ break;
case VIM_Y:
CMD(KC_C);
TAP(KC_RIGHT);
@@ -525,6 +530,10 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
TAP(KC_RIGHT);
vstate = VIM_START;
break;
+ case VIM_P:
+ CMD(KC_V);
+ vstate = VIM_START;
+ break;
case VIM_V:
case VIM_ESC:
TAP(KC_RIGHT);