Skip to content

Open file in same tab #2395

Closed
Closed

Description

@raphaelhuleux

Hello,

Right now, when clicking on a file in the left panel, this opens the file in another tab. It would be nice to have the option to open the file in the same tab. Otherwise, this quickly creates a lot of tabs and makes browing a folder of notes annoying.

Activity

  1. brainchild0 commented on Nov 19, 2020

    @brainchild0
    Contributor

    Loosely related to #2081.

  2. Jocs commented on Oct 15, 2026

    @Jocs
    Member

    When you open a file from the sidebar without making any edits, then click another file, the new file opens in the same tab instead of a new tab.

  3. self-assigned this
    on Oct 15, 2026
  4. brainchild0 commented on Oct 15, 2026

    @brainchild0
    Contributor

    If the open document has been edited but not saved, then a prompt could be provided, for whether to save the document versus to abort opening the new file. Such design is, of course, extremely standard.

    I understand that some users may prefer to accumulate new tabs as they open various files. However, many users prefer instead that each window contain exactly one open document. Switching documents may be through switching among the various open windows, or through selection of files on the sidebar.

    It should be possible to ensure that each window is restricted to a single open document at any particular time. Automatically creating new tabs breaks the usage that many users consider natural and essential.

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

Metadata

Metadata

Assignees

Labels

🦄 feature request🔭 area/ui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions