branch: externals/window-commander commit 2d2edca2c3f38d5906e955b5a872aad127ef3d6b Author: Daniel Semyonov <cm...@dsemy.com> Commit: Daniel Semyonov <cm...@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: