Skip to content

Commit 5588f20

Browse files
authored
Merge pull request #107 from caleb-allen/remove-unimplemented-motions
Remove unimplemented motions from parsing list
2 parents 1f054ac + 49636ff commit 5588f20

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/motion.jl

+3-1
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ const insert_motions = Dict{Char,Any}(
405405
end
406406
end
407407
)
408-
const simple_motions = Dict{Char,Any}(
408+
const simple_motions = Dict{Char,Function}(
409409
'h' => left,
410410
'l' => right,
411411
'j' => down,
@@ -419,13 +419,15 @@ const simple_motions = Dict{Char,Any}(
419419
'^' => line_begin, # exclusive)
420420
'$' => line_end, # inclusive)
421421
'0' => line_zero, # TODO how to parse this? it's a digit, not an alphabetical character.
422+
#=
422423
'{' => nothing,
423424
'}' => nothing,
424425
'(' => nothing,
425426
')' => nothing,
426427
'G' => nothing,
427428
'H' => nothing,
428429
'L' => nothing
430+
=#
429431
)
430432

431433
const complex_motions = Dict{Regex,Any}(

0 commit comments

Comments
 (0)