Skip to content

Set shortcut to toggle between diff view and actual file #107418

Closed

Description

@LucaGabi

Set shortcut to toggle between diff view and actual file in the editor.

I tried to find the "open file" action/command and assign a key but .. I was not able ...

Activity

  1. usernamehw commented on Sep 25, 2020

    @usernamehw
    Contributor
    {
    	"key": "ctrl+shift+alt+h",
    	"command": "git.openChange",
    	"when": "!isInDiffEditor"
    },
    {
    	"key": "ctrl+shift+alt+h",
    	"command": "git.openFile",
    	"when": "isInDiffEditor"
    },
  2. locked and limited conversation to collaborators on Dec 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions