Skip to content

Commit af4cd8e

Browse files
committed
improve +j (combine lines at normal mode)
Previous version (after updating for old OneNote) had a bug that it did not has Return after key mapping of multi lines. (i.e. +j executed also the next binding (`~`, capitalize character)
1 parent 6813095 commit af4cd8e

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

lib/bind/vim_normal.ahk

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@ u::Send,^z
44
^r::Send,^y
55

66
; Combine lines
7-
+j::
8-
if WinActive("ahk_group VimOneNoteGroup"){
9-
Send, ^{Down}{Home}{BS}{Space}{Left}
10-
}else{
11-
Send, {Down}{Home}{BS}{Space}{Left}
12-
}
7+
+j:: Send, {End}{Space}{Delete}
138

149
; Change case
1510
~::

lib/vim_ahk.ahk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919

2020
class VimAhk{
2121
__About(){
22-
this.About.Version := "v0.7.0"
23-
this.About.Date := "20/Apr/2020"
22+
this.About.Version := "v0.7.1"
23+
this.About.Date := "22/Apr/2020"
2424
this.About.Author := "rcmdnk"
2525
this.About.Description := "Vim emulation with AutoHotkey, everywhere in Windows."
2626
this.About.Homepage := "https://github.com/rcmdnk/vim_ahk"

0 commit comments

Comments
 (0)