Closed phanen closed 1 year ago
What do you mean "not work"? What happens (or doesn't happen)? I just remapped d
to "_d
and don't see any problem, spooky actions work fine.
Sorry, I mixed things up, spooky will work well if I set a longer timeoutlen
.
As for keymap, It is basically a problem of whick-key:
vim.keymap.set('n', 'd', '"_d')
, type d
will not trigger popup...I learn that spooky works by mapping keys like rr
ir
to textobjects. It's wonderful and minimal, but we still need fast enough typing. A long timeoutlen
(or a which-key
without the problem of popup) can be a workaround now.
But It would be better if there's a indefinite pending between r
and r
, or i
and r
. (like issue #15)
So I'll close this issue.
Thanks for your awesome work.
I often use black hole register, so I remap:
But it seems not work with this plugin.