Skip to content

Commit a7a70ab

Browse files
committed
refactor: Refactor vim_disable.ahk by removing unused key bindings
1 parent 36b2a68 commit a7a70ab

File tree

1 file changed

+2
-43
lines changed

1 file changed

+2
-43
lines changed

lib/bind/vim_disable.ahk

Lines changed: 2 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Space::
6969
Vim.State.SetMode("Vim_Normal")
7070
Return
7171

72-
#If Vim.IsVimGroup() and Vim.State.StrIsInCurrentVimMode("Vim_") and (Vim.Conf["VimDisableUnused"]["val"] == 2)
72+
#If Vim.IsVimGroup() and Vim.State.StrIsInCurrentVimMode("Vim_") and (Vim.Conf["VimDisableUnused"]["val"] > 1)
7373
a::
7474
b::
7575
c::
@@ -165,7 +165,7 @@ _::
165165
Space::
166166
Return
167167

168-
#If Vim.IsVimGroup() and Vim.State.StrIsInCurrentVimMode("Vim_") and (Vim.Conf["VimDisableUnused"]["val"] == 3)
168+
#If Vim.IsVimGroup() and Vim.State.StrIsInCurrentVimMode("Vim_") and (Vim.Conf["VimDisableUnused"]["val"] > 2)
169169
*a::
170170
*b::
171171
*c::
@@ -192,47 +192,6 @@ Return
192192
*x::
193193
*y::
194194
*z::
195-
0::
196-
1::
197-
2::
198-
3::
199-
4::
200-
5::
201-
6::
202-
7::
203-
8::
204-
9::
205-
`::
206-
~::
207-
!::
208-
@::
209-
#::
210-
$::
211-
%::
212-
^::
213-
&::
214-
*::
215-
(::
216-
)::
217-
-::
218-
_::
219-
=::
220-
+::
221-
[::
222-
{::
223-
]::
224-
}::
225-
\::
226-
|::
227-
:::
228-
`;::
229-
'::
230-
"::
231-
,::
232-
<::
233-
.::
234-
>::
235-
Space::
236195
Return
237196

238197
#If

0 commit comments

Comments
 (0)