aioutecism / amVim-for-VSCode

The Vim mode for Visual Studio Code(vscode) that works as expected.
https://marketplace.visualstudio.com/items/auiworks.amvim
455 stars 42 forks source link

Remapping jump to next section #323

Open zontafil opened 1 year ago

zontafil commented 1 year ago

Hello, is there a way to remap the shift ] and related commands to something else?

thanks

alisonatwork commented 6 months ago

Can you add a bit more information about what you would like to do here?

For instance, it is possible to override amVim normal mode behavior to some degree by adding a VS Code keybinding:

    {
        "key": "shift+]",
        "command": "cursorDown",
        "when": "editorTextFocus && amVim.mode == 'NORMAL'"
    },

You can also append && !amVim.waitingForInput if you would like to only override the behavior for a single key when not prefixed as part of a longer vim command.

But if you would like to remap keys inside the plugin itself, this is not currently supported. See #9.