vim & vscode: remapping redo to "U"

1.1k Views Asked by At

I am trying to remap the redo command to "U" do that "u" will undo and "U" will redo. I am using vim with vscode and I am trying to change the bindings with this but it is not working.

    "vim.normalModeKeyBindingsNonRecursive": [
        {
            "before": ["U"],
            "after": [],
            "commands": [
                {
                    "command": "redo",
                    "args": []
                }
            ]
         },
      ],
1

There are 1 best solutions below

0
Jake On
    "vim.normalModeKeyBindings": [
        ...
        {
            "before": ["U"],
            "after": ["C-r"]
         },
      ],