Closed singlexyz closed 11 months ago
I have this mapping, it works like dt when jump forward.
dt
{ "s", mode = { "o" }, function() require("flash").jump({ jump = { offset = -1 } }) end, }
But when jump backward, I hope it works like dF.
dF
Is there a way to make a judgment?
maybe override the action callback and adjust the target based on whether its before or after
I figure out:
require("flash").jump({ jump = { inclusive = false } })
I have this mapping, it works like
dt
when jump forward.But when jump backward, I hope it works like
dF
.Is there a way to make a judgment?