Skip to content

macOS "Open With kitty.app" #4460

@cole-wilson

Description

@cole-wilson

Is your feature request related to a problem? Please describe.
This feature request is not related to a problem.

Describe the solution you'd like
I would like to be able to set kitty as the default opener for certain file types (like *.txt files). Once kitty has "opened" the document, it would pass the filename(s) off to a program of the user's choice (like their $EDITOR).

For example:
1. A user opens Finder on MacOS
2. The user "double clicks" a text file
3. kitty would then launch vim %s in a new window or tab, substituting the path

This feature likely be useful for Linux as well, although I am only a macOS user.

Describe alternatives you've considered
I have tried bundling my own custom *.apps that will launch kitty themselves, but they are very cumbersome to use and require XCode. In addition, they meet Gatekeeper issues with launching external executables. I believe that this feature would be a good addition to kitty, rather than using eternal tools.

Example Screenshot:
image

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions