Created
April 29, 2018 11:55
-
-
Save arleighdickerson/6a3a7cc1c15cbce19787beeb766df6f0 to your computer and use it in GitHub Desktop.
set macvim as the default text editor (High Sierra)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$!/bin/bash | |
# 1) Set New Defaults | |
# ======================================== | |
defaults write com.apple.LaunchServices/com.apple.launchservices.secure LSHandlers -array-add \ | |
'{LSHandlerContentType=public.plain-text;LSHandlerRoleAll=org.vim.MacVim;}' | |
# 2) Profit | |
# ======================================== | |
# $$$ acquire currency $$$ | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this does not seem to work for me in 2024 and macos Sonoma 14.5, but I found another way of doing this https://gist.github.com/megasuperlexa/6f09c1bb8ca0fbd3bfda05067c9df60a