Remap with `<S-Space>`
See original GitHub issueIs this a BUG REPORT or FEATURE REQUEST? (choose one):
Bug report
What happened:
When I define a mapping for shift-space with <S-space>
, it does not work.
What did you expect to happen:
Shift-space should work. It works in MacVim (OS X) and gvim (Linux).
These mappings are my most-used vim keymappings that I’ve defined.
How to reproduce it (as minimally and precisely as possible):
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": ["<S-space>"],
"after": ["<C-b>"]
},
{
"before": ["<space>"],
"after": ["<C-f>"]
}
]
Environment:
- Extension (VsCodeVim) version: 0.14.1
- VSCode version: 1.24.1
- OS version: macOS 10.13
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:8 (2 by maintainers)
Top Results From Across the Web
<Space> is a big key, what do you map it to? : r/vim
CTRL-6 was my inspiration for remapping Space , actually; I used to use it all the time, and reaching for the 6 annoyed...
Read more >Remapping Space and Shift - Ask for Help
I'd like to remap the spacebar as a shift key, and then use the spacebar in other hotkeys. So I tried this: Space::Shift...
Read more >Remapping SHIFT + SPACE to an underscore (_)
Create a new script called underscore.ahk with your favorite text editor. Write the following in the file and save it: +Space::Send _.
Read more >remaping save to space key in vim maintains ...
You full mapping (taken from your .vimrc ) is this: nnoremap <space> :w<CR> " remap :w save to space button in normal mode....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Giving VSCode another try - thanks @ericridgeway for the hint, this works for me:
My workaround on
keybindings.json
. Use “cursorPageUp” instead of “scrollPageup”.