From af4cd8ee9d559bb9c0bde48ddf043726d2aca3e5 Mon Sep 17 00:00:00 2001 From: rcmdnk Date: Wed, 22 Apr 2020 21:28:34 +0900 Subject: [PATCH] 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) --- lib/bind/vim_normal.ahk | 7 +------ lib/vim_ahk.ahk | 4 ++-- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/lib/bind/vim_normal.ahk b/lib/bind/vim_normal.ahk index 04613177..877bb91f 100644 --- a/lib/bind/vim_normal.ahk +++ b/lib/bind/vim_normal.ahk @@ -4,12 +4,7 @@ u::Send,^z ^r::Send,^y ; Combine lines -+j:: - if WinActive("ahk_group VimOneNoteGroup"){ - Send, ^{Down}{Home}{BS}{Space}{Left} - }else{ - Send, {Down}{Home}{BS}{Space}{Left} - } ++j:: Send, {End}{Space}{Delete} ; Change case ~:: diff --git a/lib/vim_ahk.ahk b/lib/vim_ahk.ahk index 2fc78e64..4cf86f6c 100644 --- a/lib/vim_ahk.ahk +++ b/lib/vim_ahk.ahk @@ -19,8 +19,8 @@ class VimAhk{ __About(){ - this.About.Version := "v0.7.0" - this.About.Date := "20/Apr/2020" + this.About.Version := "v0.7.1" + this.About.Date := "22/Apr/2020" this.About.Author := "rcmdnk" this.About.Description := "Vim emulation with AutoHotkey, everywhere in Windows." this.About.Homepage := "https://github.com/rcmdnk/vim_ahk"