Skip to content

cot should allow new file creation without --new/-n #1776

@matthewsht

Description

@matthewsht

Current issue

I filed this at coteditor/cot#19
but that hasn't seen any traffic - filing here in case I should have filed here. Sorry for duplication.

Requesting that -n no longer be required for a file that doesn't exist. If it doesn't, just do whatever -n does in the code please.

The solution you'd like

Basically, for cot (command line tool) to work like every other editor - if a file doesn't exist, create it and go.

Alternatives you've considered

Shell script to determine if file doesn't exist and add -n if so - but thats an awful kludge and cot should be able to handle this.

CotEditor version

cot 2.10.1 CotEditor 5.0.6

macOS version

14.7.1

Additional context

Really like cot/coteditor except for this ONE issue - it hits the sweet spot of simple vs too simple.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurefeature requests from users

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions