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
  • 13 years ago
  • 23 minutes ago
  • 13 years ago

Installs

  • Total 4K
  • Win 2K
  • Mac 913
  • Linux 558
Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8
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.