question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Space chords not working at all

See original GitHub issue

Describe the bug I normally use <space>f, <space>e, <space>g, etc. for a lot of my Vim keystrokes. I can not seem to get them to work in VSCodeVim though. I’m on Windows 10 and I used to use GVim

To Reproduce In my settings.json:

{
    "vim.normalModeKeyBindingsNonRecursive": [
        {
            "before": ["<space>","f"],
            "commands": ["workbench.action.files.save"]
        },
}

Does nothing 😦 I’ve tried as many variations as I can think

Near workaround but that isn’t enough Previously, with a similar problem trying to bind <S-space>, I found a workaround by putting the following in keybindings.json (and skipping VSCodeVim’s settings.json altogether)

[
    {
        "key": "shift+space",
        "command": "extension.vim_escape",
        "when": "editorTextFocus"
     },
]

I thought maybe I’d give up on settings.json altogether and just only use VSCode commands in the keybindings.json:

    {
        "key": "space f",
        "command": "workbench.action.files.save",
        "when": "editorTextFocus"
     },

Works like a charm. Actually see’s my <space>f and does something 😐 Except, I realized to my horror, doesn’t care what Vim mode he’s in. So I can’t type anything with a space followed by an f while in insert mode. RIP

Environment (please complete the following information):

Extension Author (truncated) Version
elixir-ls Jak 0.2.21
vim vsc 0.15.0
CPUs Intel® Core™ i7-7500U CPU @ 2.70GHz (4 x 2904)
GPU Status 2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwarevideo_decode: enabledvideo_encode: enabledvpx_decode: enabledwebgl: enabledwebgl2: enabled
Memory (System) 31.89GB (24.54GB free)
Process Argv C:\Program Files\Microsoft VS Code\Code.exe D:\Eric\Backup\ProgProjs\ElixirProjects\2018-07-13_BowlingWilliam\README.md
Screen Reader no
VM 0%

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:5
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
ryymcommented, Oct 3, 2018

I run into this issue too. I tried both "before": ["<space>", "w"] and "before": [" ", "f"] but neither of them worked.

  • VSCode: 1.27.2
  • Vim extension: 0.16.5

Currently I am using vim.leader and it is fine, though.

2reactions
adrianordcommented, Jul 16, 2018

I use space chords, either set "vim.leader": " " or use the above suggestion. Using vim.leader lets you map things as "before": ["<leader>","[key]"], and so on.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use SPACE CHORDS to make epic progressions
I cover what chords to use and why they work, as well as several tips for arrangement and production. Enjoy! The chords for...
Read more >
Chord spacing in the Editor — iReal Pro Help Center
The player can read measures of different length, but the chords within the measure need to be properly spaced to indicate what beat...
Read more >
Why are my chords not transposing or formatting correctly?
Here are some common pitfalls that can cause chords to not work correctly. ... OnSong uses spaces to align chords over lyrics.
Read more >
Space Chords - DCI World Class Corps Discussions
So......just about every corps hornline has some sort of space chord warmup ... Flutes playing a space chord = not intense, just annoying....
Read more >
What chords sound "galactic" for you? : r/musictheory - Reddit
They actually believe in it. Not sure if it works, but it's cool space music ... Any of the following chords together work...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found