You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
given i'm interested in having <leader>p format my code, and <leader> to be space i've setup my keymap with this:
[{"context": "EmptyPane || SharedScreen || vim_operator == none && !VimWaiting && vim_mode != insert","bindings": {"space p": "editor::Format",// and a bunch of other things mapped to space... }}]
but now any motion around space introduces delay. e.g. R<space> takes >500ms to replace with a space. dt<space> takes a similar delay to delete until a space.
note that the context is copied from https://zed.dev/blog/zed-decoded-vim – can that be tweaked to fix this? or is this a limitation that needs to be worked around or fixed in a different way?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
given i'm interested in having
<leader>p
format my code, and<leader>
to be space i've setup my keymap with this:but now any motion around
space
introduces delay. e.g.R<space>
takes >500ms to replace with a space.dt<space>
takes a similar delay to delete until a space.note that the context is copied from https://zed.dev/blog/zed-decoded-vim – can that be tweaked to fix this? or is this a limitation that needs to be worked around or fixed in a different way?
Beta Was this translation helpful? Give feedback.
All reactions