emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ssh-deploy be5451c 019/173: Updated to comments and REA


From: Stefan Monnier
Subject: [elpa] externals/ssh-deploy be5451c 019/173: Updated to comments and README
Date: Sat, 20 Oct 2018 10:36:23 -0400 (EDT)

branch: externals/ssh-deploy
commit be5451cb90f2c699cf0f8c5c8f4ba87d18aef850
Author: Christian Johansson <address@hidden>
Commit: Christian Johansson <address@hidden>

    Updated to comments and README
---
 README.md     | 12 ++++++------
 ssh-deploy.el |  4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/README.md b/README.md
index 7dfca28..f4d9023 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
 # `ssh-deploy`
 
-The `ssh-deploy` plug-in makes it possible to effortlessly deploy local files 
and directories to remote hosts via SSH. It also makes it possible to define 
remote paths per directory and whether or not you want to deploy on explicit 
save actions or not. Also it enables manual upload and download of files and 
directories. You can also check differences between local files and directories 
and remote files and directories if you have `tramp`,`ediff` and `ztree` 
installed. You can browse remo [...]
+The `ssh-deploy` plug-in makes it possible to effortlessly deploy local files 
and directories to remote hosts via SSH. It also makes it possible to define 
remote paths per directory and whether or not you want to deploy on explicit 
save actions or not. Also it enables manual upload and download of files and 
directories. You can also check differences between local files and directories 
and remote files and directories if you have `tramp`,`ediff` and `ztree` 
installed. You can also browse [...]
 
 `ssh-deploy` works with `DirectoryVariables` so you can have different deploy 
setups in different ways for different folders.
 
@@ -24,7 +24,7 @@ This application is made by Christian Johansson 
<address@hidden> 2016 and is l
 * And add this to your *emacs-init-script*:
 
 ``` elisp
-;; ssh-deploy - prefix = C-c C-z, u = upload, d = download, x = diff
+;; ssh-deploy - prefix = C-c C-z, u = upload, d = download, x = diff, t = 
terminal, b = browse
 (add-to-list 'load-path "~/.emacs.d/ssh-deploy/")
 (use-package ssh-deploy
   :config
@@ -39,11 +39,11 @@ This application is made by Christian Johansson 
<address@hidden> 2016 and is l
 You can remove the `add-to-list` line if you installed via `MELPA` repository.
 
 * Now when you save a file somewhere under the directory 
`/Users/username/Web/MySite/`, the script will launch and deploy the file with 
the remote server.
-* If you press `C-c C-z x` you will launch a `ediff` session showing 
differences between local file and remote file using `tramp`.
-* If you press `C-c C-z u` you will upload local file to remote host.
-* If you press `C-c C-z d` you will download file from remote host and reload 
current buffer.
+* If you press `C-c C-z x` and the current buffer is a file, you will launch a 
`ediff` session showing differences between local file and remote file using 
`tramp`, or if current buffer is a directory it will show differences with 
remote directory using `zdiff-tree`.
+* If you press `C-c C-z u` you will upload local file or directory to remote 
host.
+* If you press `C-c C-z d` you will download the current file or directory 
from remote host and then reload current buffer.
 * If you press `C-c C-z t` you will open a terminal with remote host.
-* If you press `C-c C-z b` you will browse remote host in `dired-mode`.
+* If you press `C-c C-z b` you will browse current directory on remote host in 
`dired-mode`.
 
 The above configuration uses the plugin `use-package` which I highly recommend.
 
diff --git a/ssh-deploy.el b/ssh-deploy.el
index 3e31db4..b8fabe7 100644
--- a/ssh-deploy.el
+++ b/ssh-deploy.el
@@ -31,8 +31,8 @@
 
 ;; `ssh-deploy' enables automatic deploys on explicit-save, manual
 ;; uploads, downloads, differences, remote terminals and remote directory 
browsing
-;; via key-pair password-less authorized SSH connections.  To do this it uses 
tramp,
-;; tramp-term, scp, ediff and ztree-diff.
+;; via key-pair password-less authorized SSH connections.  To do this it uses 
`tramp',
+;; `tramp-term', `scp', `ediff' and `ztree'.
 ;; By setting the variables (globally or per directory):
 ;; `ssh-deploy-root-local`,`ssh-deploy-root-remote`,
 ;; `ssh-deploy-on-explicit-save` you can setup a directory for



reply via email to

[Prev in Thread] Current Thread [Next in Thread]