13630Improvement to the mvim script
- Mar 27, 2013Changed the mvim script so it finds MacVim.app regardless of where it is located.
If MacVim is not found in the predefined search path, query the OS for the location. The changes are minimal - just add the following at line #26 of "mvim".
xmlstr="`osascript -e "return POSIX path of (path to application \\"MacVim\\")"`"
Uses AppleScript to query for the location of MacVim. Then trims some characters from the result so it can still be used with the rest of the script. The AppleScript is only run if required - to keep things fast.
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
You received this message because you are subscribed to the Google Groups "vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_mac+unsubscribe@....
For more options, visit https://groups.google.com/groups/opt_out.
- Next post in topic >>