Gist are code snippets from GitHub ( ) with this plugin you can create private/public gist from your code and insert existing gist from your account. Another way to to right click in the sidebar and select SFTP to see all options.įind out more details on its features at BracketHighlighterīracket Highlighter matches a variety of brackets such as:, (), +p)+#footer then press tab to get To setup SFTP right click in the sidebar and select "Map to Remote" a file with options will be shown enter your S/FTP settings and save the file/ Now you can use the keyboard shortcuts or Menu. Also being able to browse a remote directly is very handy. As with most plugins it comes with a bunch of settings once of which is upload on save, this allows you to upload a file by saving the file.
SFTP is a S/FTP plugin for uploading/downloading and syncing files, It's not a free plugin its costs $20.(A fee Trial is available) It's very reliable and really fast for uploading files given the time it saves it's worth the price.
To install a package go to Package Control: Install Package press enter a list of packages is displayed find the one you want and press enter to install it. Type Package to see all the package options.
Once installed open the command prompt by pressing Shirt + CMD + P on a Mac or Shift + CTRL + P on Windows. To install copy and past a code block into the console see for instructions. Plugins can be manually installed but the easier and recommended way is to use Sublime text's Package Control this allows you to search and install plugins without leaving Sublime Text. (Some of these are ST2 only) Package Control These are my most used plugins for day to day programming. My favourite editor is Sublime Text I've tried other editors, no other editor can complete with both customisation and pure speed in my opinion. For more information on the plugin, visit the official page. However, the trial never ends - just prompts you to purchase every so often. Just like Sublime Text itself, the plugin is not officially free. There is also a ‘Server’ workflow which allows you to work directly off the server. Note that this is the ‘Remote’ workflow whereby you are editing a copy of the files on your local machine. The SFTP/FTP menu also provides some additional options such as Syncing your Remote/Local directories and Browsing your remote. If all is setup correctly, you should be able to push files to the remote server. If you get a lot of Connection Refused errors from Sublime and No authentication found errors in the SSH logs, this could be the reason. For *nix systems this should work fine, however on Windows it turns out that Sublime uses PSFTP (PuTTY SFTP) instead, so it expects a PuTTY private key file (. This caused me some confusion initially as I used the id_rsa OpenSSH key I use for SSH under Cygwin. As such, change the ssh_key_file property to point to the absolute path to your key file. You could use a password, but you really should be using public key authentication. home//projectįinally, you will want to make sure you are authenticating in some way. remote_path should point to the directory you want to push changes to on your remote server e.g.Change port to whatever port you have SSH running on (you shouldn’t really be running on the default 22).Change user to whatever user you have SFTP (SSH) setup for on your server.Change host to point to your remote servers IP/domain.I like to set upload_on_save to true so the most recent copy is pushed to the server whenever I save a file (great timesaver).Make sure type is SFTP not FTP (we like security).This is where you tell the plugin where to map your local directory to on the remote server. Once configured, a sftp-config.json file will be created. This is done through the SFTP/FTP context menu on the right click context menu of your root directory. You then have to configure the plugin for use on your current project. To install, simply open up Package Control through Ctrl+Shift+P, Select Install Package and select SFTP.