Need a vimrc keylist and <A-key> bind description
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Is your feature request related to a problem? Please describe.
When I input the ( [ {, the editor will automaticly generate the ) ] } for me. That is good.
Usually when I input all the thing in the brackets, there are two situations:
- I wanna go to the next line, the I input
<Esc>o, perfect for me. - I wanna input
:or;at end of line, then I should move fingers to arrowkey. That is tedious.
so I wanna to bind <A-l> to <right>, use this vimrc
"vim.insertModeKeyBindingsNonRecursive": [
{
"before": [
"<A-l>"
],
"after": [
"<Right>"
]
},
No effect! I thought maybe it's not <Right>, maybe <RightArrow> or something else, so I need a keylist in vimrc.
So I searched in the google, wanna find a vimrc keylist. But for noob like me, it's difficult.
The key mapping is a import thing in vimrc, but I can not find the keylist, which I can use after "before" or `"after".
Then I read the README, found another method maybe works.
New vimrc:
"vim.insertModeKeyBindingsNonRecursive": [
{
"before": [
"<A-l>"
],
"commands": [
"cursorRight"
]
},
I used a lot time on this, that is not environmentally friendly.
Finally, I used <CR> in vimrc to test:
"vim.insertModeKeyBindingsNonRecursive": [
{
"before": [
"<CR>"
],
"after": [
"<Right>"
]
},
and
"vim.insertModeKeyBindingsNonRecursive": [
{
"before": [
"<CR>"
],
"commands": [
"cursorRight"
]
},
They both work. Then I thought this is a bug, which vimrc won't work for <A-key>. Then I searched in the issue, find others' solution.
I did know that I need to bind Alt+ in the Setting:keybindings.
Describe the solution you'd like
maybe someone else want **a keylist or Alt key need bind in keybindings description in the README. **
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.
Research direction
Start with the README sections covering vimrc key bindings and VS Code keybindings, then compare them with the reported , , and cursorRight examples. Document the available key names and clarify how Alt-key bindings should be configured; done means a newcomer can identify the correct syntax without searching elsewhere.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vscode
- Domain
- developer-experience, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100