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

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

[nongnu] elpa/swsw 2d2edca2c3 029/146: ; Add 'Usage:' section to the com


From: ELPA Syncer
Subject: [nongnu] elpa/swsw 2d2edca2c3 029/146: ; Add 'Usage:' section to the commentary
Date: Wed, 25 May 2022 02:59:41 -0400 (EDT)

branch: elpa/swsw
commit 2d2edca2c3f38d5906e955b5a872aad127ef3d6b
Author: Daniel Semyonov <cmstr@dsemy.com>
Commit: Daniel Semyonov <cmstr@dsemy.com>

    ; Add 'Usage:' section to the commentary
---
 swsw.el | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/swsw.el b/swsw.el
index 7b8e228e7b..a8f98e34f3 100644
--- a/swsw.el
+++ b/swsw.el
@@ -25,7 +25,26 @@
 
 ;; swsw (simple window switching) provides a minor mode for switching
 ;; windows using IDs assigned to them.
-;; Customize `swsw-display-function' to change how window IDs are displayed.
+;;
+;; Usage:
+;;
+;; Enable `swsw-mode' and (optionally) bind `swsw-select' to a key:
+;;
+;; (swsw-mode)
+;; (define-key swsw-mode-map "C-x o" #'swsw-select)
+;;
+;; You can customize `swsw-mode' using the customize interface:
+;;
+;; M-x customize-group RET swsw RET
+;;
+;; For use-package users:
+;;
+;; (use-package swsw
+;;   :bind
+;;   (:map swsw-mode-map
+;;         ("C-x o" . swsw-select))
+;;   :config
+;;   (swsw-mode))
 
 ;;; Code:
 



reply via email to

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