Skip to content

[Feature]: Setting to Open file preview in new block with double click #3387

Open

Description

@gkourogiorgas

Feature description

Hi
I would like to open preview in new block with double click instead of right click and choosing the option
I would like that to be configurable in settings eg

{
  "file:doubleclickaction": "preview" 
}

Implementation Suggestion

No response

Anything else?

No response

Activity

  1. jungmyunggi commented on Jul 21, 2026

    @jungmyunggi

    I ran into this same need and implemented it as an opt-in setting: preview:openfileinnewblock (bool, defaults to false, so current behavior is unchanged). When enabled, double-click or Enter on a file in the directory preview opens it in a new preview block (same as the "Open Preview in New Block" context menu item); directories still navigate in place.

    Opened #3440 with the implementation — happy to adjust the key name (e.g. the file:doubleclickaction enum style suggested above) or the approach if the maintainers prefer.

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

    enhancementNew feature or requesttriageNeeds triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions