0

sublime sftp 快捷键

Posted by 晴云孤魂 on 2014 年 01 月 09 日 in Program Development |

配置操作

配置 ftp 服务
Win/Linux: ctrl+alt+r+s
OS X: ctrl+cmd+r+s
配置一个新的ftp服务

打开ftp服务
Win/Linux: ctrl+alt+r+b
OS X: ctrl+cmd+r+b
列出已配置的ftp服务

修改ftp服务
Win/Linux: ctrl+alt+r+e
OS X: ctrl+cmd+r+e

删除ftp服务
Win/Linux: ctrl+alt+r+d
OS X: ctrl+cmd+r+d

常用操作

打开远程目录
Win/Linux: ctrl+alt+u+w
OS X: ctrl+cmd+u+w
用于切换远程目录,选中文件编辑文件,新建文件夹等等。(请不要在非当前ftp文件中使用该操作)

查看当前文件与远程文件的区别
Win/Linux: ctrl+alt+u+i
OS X: ctrl+cmd+u+i
下载服务器上远程的文件到临时目录然后与本地的文件进行比较

显示 SFTP 面板
Win/Linux: ctrl+alt+u+s
OS X: ctrl+cmd+u+s
显示 SFTP 的活动命令行

取消
Win/Linux: ctrl+alt+u+x
OS X: ctrl+cmd+u+x
停止当前的操作 (连接, 上传或者下载)

上传文件
Win/Linux: ctrl+alt+u+f
OS X: ctrl+cmd+u+f
上传当前文件

上传已改变的文件
Win/Linux: ctrl+alt+u+c
OS X: ctrl+cmd+u+c
根据你的VCS(SVN、Git或者Hg)的上一次提交,上传所有有改变或者新建的文件

上传打开的
Win/Linux: ctrl+alt+u+n
OS X: ctrl+cmd+u+n
上传所有打开的文件(that are configured with an SFTP/FTP remote)

下载文件
Win/Linux: ctrl+alt+u+o
OS X: ctrl+cmd+u+o
下载选中文件的远程版本同时覆盖本地文件

上传文件夹
Win/Linux: ctrl+alt+u+r
OS X: ctrl+cmd+u+r
Uploading the entire folder the current file is located in can be accomplished by pressing ctrl+alt+u+r on Windows and Linux, or ctrl+cmd+u+r on OS X.

下载文件夹
Win/Linux: ctrl+alt+u+e
OS X: ctrl+cmd+u+e
Download the entire folder

Sync Local -> Remote
Win/Linux: ctrl+alt+u+y
OS X: ctrl+cmd+u+y
Compare file modification times and confirm actions before uploading the selected file or folder. This will also delete files off of the remote server that do not exist locally.

Sync Remote -> Local
Win/Linux: ctrl+alt+u+d
OS X: ctrl+cmd+u+d
Compare file modification times and confirm actions before downloading the selected file or folder. This will also delete files off of the local machine that do not exist remotely.

Sync Both Directions
Win/Linux: ctrl+alt+u+b
OS X: ctrl+cmd+u+b
Compare file modification times and confirm actions before uploading/downloading the selected file or folder. This will never delete files, and will always perform the action that causes the newest file to be present in both locations.

Monitor File
Win/Linux: ctrl+alt+u+m
OS X: ctrl+cmd+u+m
Watch the file for modifications (from Sublime or other applications). When the file modification time changes, the file will be uploaded. This was designed to be used with programs such as LiveReload and CSS compliers. The file must remain open in Sublime to be monitored. Once it is closed, monitoring stops.

原文链接:http://wbond.net/sublime_packages/sftp/usage#Key_Bindings_Both_Workflows

Copyright © 2011-2024 晴云孤魂's Blog All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.

普人特福的博客cnzz&51la for wordpress,cnzz for wordpress,51la for wordpress