ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Mote

by SublimeText ST2

SFTP Remote Editing for Sublime Text 2

Details

  • 2012.02.10.07.49.59
  • github.​com
  • github.​com
  • 12 years ago
  • 21 minutes ago
  • 12 years ago

Installs

  • Total 4K
  • Win 2K
  • Mac 913
  • Linux 558
Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 29 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Info

Sublime Text plugin to browse and edit files over sftp/ssh2

  • Uses the power of the quick panel completions to browse around files
  • Automatically hooks into file saves and uploads after saving
  • Optionally, continues to spider the file tree populating the quick panel list

Installation

  1. Download this package and save and extract to your packages folder.

  2. Download and install PuTTY, preferably the whole package.

  1. Make psftp accessible to the plugin
  • Copy psftp.exe to Mote\

Usage

Add Servers

edit the Mote\serves.json file

connection_string connection string that's going to be passed to psftp See http://the.earth.li/~sgtatham/putty/0.61/htmldoc/Chapter6.html#psftp-pubkey

idle_recursive whether or not Mote should spider your sftp in the background

default_path default path to cd into

password password for sftp. Use this option if your PuTTY session name or password contains a space

private_key path to private key. Remember to escape the \ into \\

NOTE: if you wish to place your password here, it cannot contain a '!' Due to limitations of psftp See http://the.earth.li/~sgtatham/putty/0.61/htmldoc/Chapter6.html#psftp-cmd-pling

servers.json

Make sure you have a valid json object here. http://jsonlint.com/

{
    "SERVER_NICKNAME":{
        "connection_string": "saved_putty_session_name",
        "idle_recursive": true
    },
    "SERVER_NICKNAME2":{
        "connection_string": "USERNAME@HOSTNAME_OR_IP",
        "password":"MYPASSWORD",
        "idle_recursive": false,
        "default_path": "iniital/path/to/open/to"
    },
    "SERVER_NICKNAME3":{
        "connection_string": "USERNAME@HOSTNAME_OR_IP",
        "password":"MYPASSWORD",
        "private_key":"C:\\PATH\\TO\\PRIVATE\\KEY.ppk",
        "idle_recursive": false,
        "default_path": "iniital/path/to/open/to"
    }
}

Then Invoke Mote

Run through the command palette

Ctrl+Shift+P
Mote
Enter

Or, Add to your keybinds

{ "keys": ["ctrl+m"], "command": "mote" }

Then

Ctrl+m

Then browse around and edit

  • Browse around. The file list populates as you delve deeper into the file tree.
  • Click on a file to download to a temp folder and open it
  • Any saves on that file will automatically upload it.