CotEditor icon indicating copy to clipboard operation
CotEditor copied to clipboard

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

Open matthewsht opened this issue 1 year ago • 2 comments

Current issue

I filed this at https://github.com/coteditor/cot/issues/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.

matthewsht avatar Dec 12 '24 17:12 matthewsht

I’ve already read https://github.com/coteditor/cot/issues/19, but I cannot react to everything instantly. Let me have time.

1024jp avatar Dec 13 '24 16:12 1024jp

I totally forgot that the coteditor/cot repository is no longer in use. So, I am reopening this ticket and closing the original post. Sorry for the confusion.

1024jp avatar Dec 14 '24 16:12 1024jp

I’ve mentioned the reasoning behind my rejection at https://github.com/coteditor/CotEditor/pull/1842#issuecomment-3419177139

1024jp avatar Oct 19 '25 03:10 1024jp