visual-studio-codevscodevim

How can I remove the double space to dot mapping in VIM? Or why is it even useful?


In my VIM-VSCode setup, I'm trying to edit the behaviour of the double space tap when in insert mode to NOT add a dot. I'm not sure either why this is considered useful behaviour?

The current fixes I found are not working and I'm not sure why:

"vim.insertModeKeyBindings": [
    {
        "before": [" ", " "],
        "after": [" ", " "],
        "commands": [":nohlsearch"]
    }
]

"vim.insertModeKeyBindings": [
    {
        "before": [" ", " "],
        "after": [],
        "commands": []
    }
]

Solution

  • Found the answer to this one: apparently it is mac specific! Resolution and issue outlined here: https://github.com/VSCodeVim/Vim/issues/2108

    For MacOS, go to keyboard -> disable double space to add dot.