half page & center cursor "c-d c-u + zz" #8809
Replies: 1 comment
-
Hey there! I was looking for the same configuration and I've just found the solution. Each string in the array must be a single command or character to be "pressed" so you need to define "vim.normalModeKeyBindings": [
{
"before": ["<C-d>"],
"after": ["<C-d>", "z", "z"]
},
{
"before": ["<C-u>"],
"after": ["<C-u>", "z", "z"]
}
], I hope this helps! :) |
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
-
I couldn't find any way to remap
c-d
c-u
withzz
to center the page. When trying to combine on any way in the settings.json or keybindings.json is just bug and not working at all. It this possible in the extension?I was trying to get the change in the settings.json with:
any way to accomplish something like this?:
Beta Was this translation helpful? Give feedback.
All reactions