1

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": []
                }
            ]
         },
      ],
romainl
  • 186,200
  • 21
  • 280
  • 313
Jake
  • 402
  • 1
  • 4
  • 12

1 Answers1

2
    "vim.normalModeKeyBindings": [
        ...
        {
            "before": ["U"],
            "after": ["C-r"]
         },
      ],
Jake
  • 402
  • 1
  • 4
  • 12