Skip to content

Commit

Permalink
fix: 行尾回车+删除整行
Browse files Browse the repository at this point in the history
  • Loading branch information
snomiao committed Feb 27, 2022
2 parents 8fd097a + 84eaf5d commit 2944734
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Modules/CapsLockX-EnterWithoutBreak.ahk
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
; ========== CapsLockX ==========
; 注:Save as UTF-8 with BOM please
; 名称:不折行回车
; 描述:不折行回车
; 作者:snomiao
; 支持:https://github.com/snolab/CapsLockX/issues/32
; ========== CapsLockX ==========

return

#if CapsLockXMode

; refs:
; https://github.com/snolab/CapsLockX/issues/32
; [[建议]增加backspace删除整行 · Issue #33 · snolab/CapsLockX]( https://github.com/snolab/CapsLockX/issues/33 )

; tested in vscode multiline mode
Enter:: SendEvent {End 2}{Enter} ; 行尾回车
BackSpace:: SendEvent {Home 2}{End}{Home 2}+{End 2}+{Right}{Delete} ; 删除整行

0 comments on commit 2944734

Please sign in to comment.