Skip to content

Instantly share code, notes, and snippets.

@esturcke
Last active June 18, 2018 05:50
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save esturcke/290532beef35035df6ba to your computer and use it in GitHub Desktop.
Save esturcke/290532beef35035df6ba to your computer and use it in GitHub Desktop.
Changing file associations in OS X using duti
# bundle id UTI/ext/MIME type role
org.vim.MacVim public.plain-text all
org.vim.MacVim .java all
org.vim.MacVim .xml all
org.vim.MacVim .pl all
org.vim.MacVim .pm all
@jwmann
Copy link

jwmann commented May 8, 2017

Can you explain the usage of the .duti file? Do I just run duti in the terminal? or maybe duti .duti
Every time I try to use it I get an error failed to set org.vim.MacVim as handler for public.html (error -54)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment