Just to clarify willy1234x1’s post. You can use sublime from the command line, which simply launches Sublime Text with any file names you might pass in. All you need to do is add the Sublime program directory to the system path, then you can run “sublime_text hello.txt” to open Sublime and edit that file from the command line.
However, since Sublime is a GUI application and not a console (text mode) program, you can’t use it over SSH ie. over a putty session (putty is a terminal emulator and not an editor). You’re left with two options here:
- If the Linux/Mac machine you’re connecting to with putty is on your local network, make a windows share on it then just map it to a network drive on your windows machine, or open files with the GUI by navigating with explorer to \machine\sharename. This is a very straightforward approach and how I tend to work on my LAN.
- If you must use a console mode editor, you’re left with Vim, Emacs, Nano and a few others. The first two a very powerful but have a steep learning curve. Though I use Vim a lot, I find Sublime much nicer to look at and work with. And for beginners it is much, much easier.
Putty, by the way, is really quite a nice terminal program for Windows, especially when everything’s configured correctly.
