Skip to content

Improve documentation about tabs #47

Open

Description

@gludit

From README and trying out dit, I am not sure I understand how tabs work. How do I open multiple files in separate tabs from command line? When I do dit foo bar baz, only foo is opened. It looks that tabs work more like recently used files, that is, if I quit dit and then open bar, I see bar and "old" foo. Is there a command to open a new file without quitting dit? Maybe some word in docs how it actually works would be helpful.

Activity

  1. hishamhm commented on Jan 5, 2025

    @hishamhm
    Owner

    How do I open multiple files in separate tabs from command line? When I do dit foo bar baz, only foo is opened.

    I don't think I've ever implemented opening multiple files...

    It looks that tabs work more like recently used files, that is, if I quit dit and then open bar, I see bar and "old" foo. Is there a command to open a new file without quitting dit?

    No, not at this time. But quitting and reopening dit essentially preserves all state (cursor locations and undo history). That's why I never bothered to add "file manager" type features to it.

    Maybe some word in docs how it actually works would be helpful.

    They would indeed! But I don't really promote dit a lot. It's a project I use daily, but I maintain it very sparingly. Contributions are welcome, but I'm not intending to make it the "next big thing" or anything!

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions