[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ssh-deploy d1d68b9 128/173: Started with new menu in me
From: |
Stefan Monnier |
Subject: |
[elpa] externals/ssh-deploy d1d68b9 128/173: Started with new menu in menu-bar |
Date: |
Sat, 20 Oct 2018 10:36:43 -0400 (EDT) |
branch: externals/ssh-deploy
commit d1d68b90861a20241c4485a46f7398ab1a3ac14e
Author: Christian Johansson <address@hidden>
Commit: Christian Johansson <address@hidden>
Started with new menu in menu-bar
---
ssh-deploy.el | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/ssh-deploy.el b/ssh-deploy.el
index a1bce06..48761b9 100644
--- a/ssh-deploy.el
+++ b/ssh-deploy.el
@@ -1098,6 +1098,24 @@
(ssh-deploy-browse-remote root-local root-local ssh-deploy-root-remote
ssh-deploy-exclude-list))))
+;;; Menu-bar logic
+
+;; Creating a new menu pane in the menu bar to the right of “Tools” menu
+(define-key-after
+ global-map
+ [menu-bar sshdeploy]
+ (cons "Deployment" (make-sparse-keymap "Menu for SSH Deploy"))
+ 'tools)
+(define-key
+ global-map
+ [menu-bar sshdeploy nl]
+ '("Upload" . ssh-deploy-upload-handler))
+(define-key
+ global-map
+ [menu-bar sshdeploy pl]
+ '("Download" . ssh-deploy-download-handler))
+
+
(provide 'ssh-deploy)
;;; ssh-deploy.el ends here
- [elpa] externals/ssh-deploy 3b69647 065/173: Whitespace fix, (continued)
- [elpa] externals/ssh-deploy 3b69647 065/173: Whitespace fix, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 9107add 079/173: Fixed code notices in new code related to eshell integration, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy d117b9b 090/173: Improved documentation, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy af7f33c 082/173: Launch eshell and dired in base or current directory, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy ee808ac 098/173: Fixed whitespace in readme, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy ab4b80e 096/173: Detection for remote changes doesn't apply to directories, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy c65d282 087/173: Removed tramp-term functionality, supports native TRAMP strings, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy b483b3e 117/173: Improved handling of changing directory using let, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy b62abf2 073/173: Improved code structure and improved documentation, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 810106a 093/173: Added feature to diff directories and fixed a bug, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy d1d68b9 128/173: Started with new menu in menu-bar,
Stefan Monnier <=
- [elpa] externals/ssh-deploy 6134cd3 122/173: Added instructors for using remote shell terminal, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy c84f56c 131/173: Added Open command to menu as well, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy d0be946 124/173: Improved the salience of completion messages, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 53081a3 148/173: After downloading asynchronously associated buffer is reverted, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy fd7abe9 143/173: Mode-line status update for asynchronously deleted file working, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy e64a454 149/173: Starting ssh-deploy-mode-line on init, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 519939d 153/173: Fixes for mode-line status as stack, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 16a22f4 157/173: More (when (not to (unless conversions, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy d9bc257 159/173: Updated version, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 5705104 155/173: Fixed issue were status list initialization was not working, Stefan Monnier, 2018/10/20