-
Notifications
You must be signed in to change notification settings - Fork 0
/
shiftless-bracketpairs-leftarrow.ahk
88 lines (48 loc) · 1.6 KB
/
shiftless-bracketpairs-leftarrow.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
; layout ver 0.5
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
; //// restore point recommended for safety
; Remapping numbers and symbols - Ask for Help - AutoHotkey Community
$1::Send {!}
$2::Send {@}
$3::Send {#}
$4::Send {$}
$5::Send {`%}
$6::Send {^}
$7::Send {&}
$8::Send {*}
; test !!!!!!!``!!@@@###$$$%%%^^^&&&***99000 !@~@#$%%^@#@
;; 2::Send {@}
; cannot reproduce ... leftarrow issue in win terminal + zsh ???
; 2021-09-05 (1).png
;;; $9::Send {(}
;$9::Send {(}{)}
$9::Send {(}{)}{Left} ;; experim
; $0::Send {)}
$0::Send {_}
; test ()()()()()()()()0()()()_____000__()()()
; edge f12 ()()()()()___(())(())()()()()()
; http://xahlee.info/kbd/best_way_to_insert_brackets.html
; insert paren, move cursor in between
; F8::Send (){Left} ; insert paren
;F9::Send {{}{}}{Left} ; insert braces
;F10::Send []{Left} ; insert square brackets
$]::Send {{}{}}{Left} ;; insert braces
;$]::Send {{}{}} ; insert braces
;f12 completi issue
$[::Send []{Left} ;;; insert square brackets
;$[::Send [] ; insert square brackets
; test [[[]]][][][]{}{}{}{}{}
; edge f12 ok
$NumpadDot::Send {;}
$;::Send {:}
;DC 02B u 0.13 \ backslash
$SC02B::Send {"}
;not E2 056 u 0.16 \ backslash
;test ......;.;.;:::;;""""\\""\\""\\;;;
;f12
; win terminal ok
;; powertoys 2021-08 cannot ()
;; keybindings.json off