replace textmate with doteditor

This commit is contained in:
Yan Lin 2026-01-05 21:46:21 +01:00
parent 2db8e08136
commit 885fe3a5b1
2 changed files with 39 additions and 39 deletions

View file

@ -232,44 +232,44 @@
# Uses duti to set default applications for file types via Launch Services # Uses duti to set default applications for file types via Launch Services
home.activation.setFileAssociations = config.lib.dag.entryAfter ["writeBoundary"] '' home.activation.setFileAssociations = config.lib.dag.entryAfter ["writeBoundary"] ''
# Text and code files - open with TextMate # Text and code files - open with TextMate
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .txt all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .txt all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .md all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .md all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .markdown all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .markdown all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .nix all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .nix all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .sh all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .sh all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .bash all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .bash all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .zsh all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .zsh all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .fish all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .fish all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .py all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .py all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .js all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .js all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .ts all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .ts all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .jsx all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .jsx all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .tsx all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .tsx all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .json all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .json all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .yaml all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .yaml all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .yml all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .yml all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .toml all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .toml all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .xml all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .xml all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .css all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .css all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .log all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .log all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .csv all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .csv all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .conf all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .conf all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .config all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .config all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .ini all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .ini all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .env all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .env all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .c all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .c all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .cpp all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .cpp all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .h all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .h all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .hpp all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .hpp all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .rs all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .rs all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .go all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .go all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .java all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .java all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .rb all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .rb all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .php all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .php all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .lua all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .lua all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .vim all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .vim all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .tex all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .tex all
run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .bib all run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .bib all
# Documents - PDF with PDF Expert # Documents - PDF with PDF Expert
run ${pkgs.duti}/bin/duti -s com.readdle.PDFExpert-Mac .pdf all run ${pkgs.duti}/bin/duti -s com.readdle.PDFExpert-Mac .pdf all

View file

@ -14,7 +14,7 @@
]; ];
casks = [ casks = [
# GUI applications - manually installed apps now managed by Homebrew # GUI applications - manually installed apps now managed by Homebrew
"textmate" "coteditor"
"keepassxc" "keepassxc"
"keycastr" "keycastr"
"inkscape" "inkscape"