Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Sophia He2,554 Points
This video uses the Nano text editor, what if I use Sublime? How to connect sublime with terminal?
How to connect other text editor with terminal?
Felipe Laso-Marsetti3,158 Points
Using one of the built in editors from the terminal like Vi, Vim, or Nano, is quite different from a text editor like Sublime Text 2, which itself is different from a full fledged IDE (integrated development environment) like Xcode (for iOS and Mac Apps), Android Studio (for Android Apps), IntelliJ (for many many projects, languages and types of apps), or Eclipse (same as IntelliJ).
There only way you can "technically" connect Sublime Text to the terminal is by adding a shortcut command that, when you run something like "subl myPost.txt" it will open that file or create it within Sublime Text. Otherwise a visual editor like Sublime Text is different from a terminal editor like Nano or Vim, and they cannot talk to each other.
That is not to say that one is better than the other. Vim is very very powerful, supports tons of plugins and is still used by a lot of professionals. The same can be said about Sublime Text. You can't really say one is better than the other as it's mostly a matter of preference.
Since They are both free, why not give them a try? While you are at it you could learn some more Vim to see if you like it by going to Vim Adventures.
If you have any more questions feel free to check out my profile and ping me on Twitter as I am working during the day but can come here and answer. Otherwise tag me on a reply and I will be more than happy to help!
Best of luck and happy coding, Sophia :)