Bind shift-up to 10 lines up in vim mode? #25072
Closed
AQMpolyface
started this conversation in
Config, Settings and Keymaps
Replies: 2 comments
-
{
"context": "Editor && vim_mode == normal",
"bindings": {
"shift-down": ["workspace::SendKeystrokes", "1 0 j"],
"shift-up": ["workspace::SendKeystrokes", "1 0 k"]
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
oh wow im a dumbass. But thanks a lot for the help, now it works |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, so i am using vim mode, and on thing i miss from nvim is when i press shift-up it goes like 15 lines up. I wanted to reproduce this in zed, but i dont et why doestn work.
Those are my keybindings i tried
"context": "Editor && vim_mode == normal",
"bindings": {
"shift-down": ["workspace::SendKeystrokes", "10j"],
"shift-up": ["workspace::SendKeystrokes", "10k"]
}
But it doesnt seem to work. the cursor stays at the same place, so somthing is definitely going on.
Does anyone have an idea how to fix this?
Beta Was this translation helpful? Give feedback.
All reactions