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

Installs

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