Skip to content

Commit

Permalink
shfit up shoud be before YDC, as some applications have shortcut of c…
Browse files Browse the repository at this point in the history
…trl-shift-C/X
  • Loading branch information
rcmdnk committed Aug 3, 2020
1 parent 22569f1 commit 93c692c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vim_move.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
}

MoveFinalize(){
Send,{Shift Up}
ydc_y := false
if(this.Vim.State.Mode == "Vim_ydc_y"){
Clipboard :=
Expand All @@ -60,7 +61,6 @@
this.Vim.State.SetMode("Insert")
}
this.Vim.State.SetMode("", 0, 0)
Send,{Shift Up}
if(ydc_y){
Send, {Left}{Right}
}
Expand Down

0 comments on commit 93c692c

Please sign in to comment.