Unable to rebind keys to `<S-Up>`/`<S-Down>`
Open
@berknam is already working on this.
Since Dec 3, 2020.
area/remap
kind/bug
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the bug
I am unable to assign a different keymap to } or {
To Reproduce
Steps to reproduce the behavior:
Go to Settings.json and add the following:
"vim.normalModeKeyBindingsNonRecursive":
[
{
"before": ["}"],
"after": ["<S-up>"]
},
{
"before": ["{"],
"after": ["<S-down>"]
},
]
Expected behavior
I would expect the } and { keys to be remapped to shift+up and shift+down, respectively. This means that when I press shift+up for example, while in normal mode I would expect the cursor to jump to the line above the previous text block.
Environment (please complete the following information):
- Extension (VsCodeVim) version:
- VSCode version: 1.17.1
- OS: Windows 10.0.19041 build 19041
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.