Skip to content

More explicit usage instructions #2

@dreusel

Description

@dreusel

It would be great to have somewhat more explicit usage instructions (as in a literal snippet to add to keybindings.json), like g3rry provides. I ended up with this (based on g3rry's example, but it took a bit of doing to figure out the exact action name for me):

    {
        "key": "ctrl+v",
        "command": "extension.paste-indent",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
        "key": "ctrl+v",
        "command": "editor.action.clipboardPasteAction",
        "when": "!editorTextFocus"
    },
    {
        "key": "ctrl+shift+v",
        "command": "editor.action.clipboardPasteAction",
        "when": "editorTextFocus && !editorReadonly"
    },

And possibly for the total n00bs (like I was), how to even get to keybindings.json (Ctrl+Shift+P, then type Preferences: Open Keyboard Shortcuts (JSON)).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions