Skip to content

extended docs to show conditional shortcut execution#55

Open
janpaepke wants to merge 1 commit into
mrmlnc:masterfrom
janpaepke:patch-1
Open

extended docs to show conditional shortcut execution#55
janpaepke wants to merge 1 commit into
mrmlnc:masterfrom
janpaepke:patch-1

Conversation

@janpaepke

@janpaepke janpaepke commented May 13, 2021

Copy link
Copy Markdown

I had other extensions using the same shortcut I wanted to use for duplication, so I had to find out how to make it conditional so that it would only run, when I focus the file in the explorer.

Thought this might be helpful information for other users as well.

What is the purpose of this pull request?

Improve readme.

What changes did you make? (Give an overview)

Added some json to readme.

I had other extensions using the same shortcut I wanted to use for duplication, so I had to find out how to make it conditional so that it would only run, when I focus the file in the explorer.

Thought this might be helpful information for other users as well.
@janpaepke

Copy link
Copy Markdown
Author

*bump

@ghost

ghost commented Nov 4, 2023

Copy link
Copy Markdown

Here's mine.

    {
        "key": "ctrl+d",
        "command": "duplicate.execute",
        "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus"
    },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant