diff options
| author | Justin Burkett | 2019-07-31 12:31:37 -0400 |
|---|---|---|
| committer | Justin Burkett | 2019-07-31 12:31:37 -0400 |
| commit | 5cec1133cff535708feda43b8f6daa4dccbc28a2 (patch) | |
| tree | 8aa845bec5e0ed5e03bb6f1b5c048aa2f98a9e50 | |
| parent | 5cbfccd5fec9b8f75b0933d2f0350592cebd32e8 (diff) | |
| download | emacs-5cec1133cff535708feda43b8f6daa4dccbc28a2.tar.gz emacs-5cec1133cff535708feda43b8f6daa4dccbc28a2.zip | |
Announce which-key-manual-update
| -rw-r--r-- | README.org | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/README.org b/README.org index 49915668722..c9992daf0d7 100644 --- a/README.org +++ b/README.org | |||
| @@ -3,6 +3,10 @@ | |||
| 3 | 3 | ||
| 4 | ** Recent Changes | 4 | ** Recent Changes |
| 5 | 5 | ||
| 6 | *** 2019-07-31: Added =which-key-manual-update= | ||
| 7 | Allows one to trigger =which-key= on demand, rather than automatically. See | ||
| 8 | the docstring and [[#manual-activation][Manual Activation]]. | ||
| 9 | |||
| 6 | *** 2017-12-13: Added =which-key-enable-extended-define-key= | 10 | *** 2017-12-13: Added =which-key-enable-extended-define-key= |
| 7 | Allows for a concise syntax to specify replacement text using =define-key= | 11 | Allows for a concise syntax to specify replacement text using =define-key= |
| 8 | or alternatives that use =define-key= internally. See the docstring and | 12 | or alternatives that use =define-key= internally. See the docstring and |
| @@ -24,6 +28,7 @@ | |||
| 24 | ** Table of Contents :TOC_3: | 28 | ** Table of Contents :TOC_3: |
| 25 | - [[#which-key][which-key]] | 29 | - [[#which-key][which-key]] |
| 26 | - [[#recent-changes][Recent Changes]] | 30 | - [[#recent-changes][Recent Changes]] |
| 31 | - [[#2019-07-31-added-which-key-manual-update][2019-07-31: Added =which-key-manual-update=]] | ||
| 27 | - [[#2017-12-13-added-which-key-enable-extended-define-key][2017-12-13: Added =which-key-enable-extended-define-key=]] | 32 | - [[#2017-12-13-added-which-key-enable-extended-define-key][2017-12-13: Added =which-key-enable-extended-define-key=]] |
| 28 | - [[#2017-11-13-added-which-key-show-major-mode][2017-11-13: Added =which-key-show-major-mode=]] | 33 | - [[#2017-11-13-added-which-key-show-major-mode][2017-11-13: Added =which-key-show-major-mode=]] |
| 29 | - [[#introduction][Introduction]] | 34 | - [[#introduction][Introduction]] |
| @@ -35,6 +40,7 @@ | |||
| 35 | - [[#side-window-right-option][Side Window Right Option]] | 40 | - [[#side-window-right-option][Side Window Right Option]] |
| 36 | - [[#side-window-right-then-bottom][Side Window Right then Bottom]] | 41 | - [[#side-window-right-then-bottom][Side Window Right then Bottom]] |
| 37 | - [[#minibuffer-option][Minibuffer Option]] | 42 | - [[#minibuffer-option][Minibuffer Option]] |
| 43 | - [[#manual-activation][Manual Activation]] | ||
| 38 | - [[#additional-commands][Additional Commands]] | 44 | - [[#additional-commands][Additional Commands]] |
| 39 | - [[#special-features-and-configuration-options][Special Features and Configuration Options]] | 45 | - [[#special-features-and-configuration-options][Special Features and Configuration Options]] |
| 40 | - [[#popup-type-options][Popup Type Options]] | 46 | - [[#popup-type-options][Popup Type Options]] |
| @@ -129,7 +135,23 @@ | |||
| 129 | variable =max-mini-window-height=. Also, the paging commands do not work | 135 | variable =max-mini-window-height=. Also, the paging commands do not work |
| 130 | reliably with the minibuffer option. Use the side window on the bottom | 136 | reliably with the minibuffer option. Use the side window on the bottom |
| 131 | option if you need paging. | 137 | option if you need paging. |
| 132 | 138 | ||
| 139 | ** Manual Activation | ||
| 140 | #+NAME: #manual-activation | ||
| 141 | If you only want the =which-key= popup when you need it, you can try a setup | ||
| 142 | along the following lines | ||
| 143 | |||
| 144 | #+BEGIN_SRC emacs-lisp | ||
| 145 | ;; make sure which-key doesn't show normally | ||
| 146 | (setq which-key-idle-delay 1000) | ||
| 147 | (which-key-mode) | ||
| 148 | (setq prefix-help-command 'which-key-manual-update) | ||
| 149 | #+END_SRC | ||
| 150 | |||
| 151 | This will prevent which-key from showing automatically, and allow you to use | ||
| 152 | =C-h= in the middle of a key sequence to show the =which-key= buffer and keep | ||
| 153 | it open for the remainder of the key sequence. | ||
| 154 | |||
| 133 | ** Additional Commands | 155 | ** Additional Commands |
| 134 | - =which-key-show-top-level= will show most key bindings without a prefix. It | 156 | - =which-key-show-top-level= will show most key bindings without a prefix. It |
| 135 | is most and not all, because many are probably not interesting to most | 157 | is most and not all, because many are probably not interesting to most |