Sublime Forum

Run Sublime in a terminal

#1

Hi,

I’m wondering if there is any interest in the idea of a Terminal User Interface for Sublime Text. My use case is having a friendly editor for when I’m using WSL, or a terminal into a remote linux machine. I know I can edit remote files using the sftp plugin but I’m wondering about this idea instead as it’s more “idiomatic” when using a terminal to just type “pico myfile” to edit a file, than to switch to the mouse to open the file in sublime.

0 Likes

#2

Actually I found this helps for wsl. An alias isn’t needed if subl.exe is in the windows PATH.

alias subl='/mnt/c/Windows/System32/cmd.exe /c "C:\Program Files\Sublime Text 3\subl.exe"'
0 Likes