Use sublime to open a specified file in the Mac-command line and use the ln command to create a soft link.

Source: Internet
Author: User

Currently, sublime is the best text editing software for Mac. It is often used to open some files, such as HTML, JS, txt, JSON, and other files, however, sublime2 does not support calling in the command line by default. After research, it is found that you can use the method of establishing a soft connection. For the same reason, you should be able to use other software that does not support the command line on Mac.


System Version: 10.9.4

Available

Open-A/applications/sublime \ Text \ 2.app composer. JSON


However, it is too troublesome to input data in this way. You can call it by establishing a soft connection.

Ln-S/applications/sublime \ Text \ 2.app/ contents/sharedsupport/bin/subl/usr/local/bin/sublime

Sublime test. JSON


This will make it easier!



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.