Justin Burkett
5abc8cfd33
Add sort option -prefix-then-key-order-reverse
...
Fixes #145
2016-10-29 08:35:54 -04:00
Justin Burkett
c678b93706
Add global option for how to sort case
...
which-key-sort-uppercase-first (default t)
See #145
2016-10-29 08:35:54 -04:00
Justin Burkett
a6a9f352e7
Merge pull request #149 from rdotdk/patch-1
...
fix link
2016-10-17 21:35:49 -04:00
Hariharan R
431f29aee4
fix link
2016-10-16 02:18:23 -04:00
Justin Burkett
5b3614643e
Fix test for recent prefix-name change
2016-10-05 16:32:29 -04:00
Justin Burkett
fe73d0849c
Make 458c8d9 backwards compatible
...
The prefix titles need to be in cons cells to stay consistent with how
they were used before.
2016-10-05 14:54:49 -04:00
Justin Burkett
94b2c7b884
Move a function for the compiler
2016-10-05 14:42:10 -04:00
Justin Burkett
458c8d97fb
Consolidate prefix names and key-based replacements
...
Make obsolete several redundant functions, the most important of which
is which-key-declare-prefixes. This is just an alias for
which-key-add-key-based-replacements now. The additional functionality
that declare-prefixes had (for declaring prefix titles) is now rolled
into the add-key-based-replacements function. See that functions doc
string.
2016-10-05 14:24:11 -04:00
Justin Burkett
d939e06fda
Fix -maybe-get-prefix-title use of key-binding
...
key-binding doesn't work with all forms of key strings.
See #143
2016-10-04 16:48:40 -04:00
justbur
c493e0b4bb
Resize popup when frame resized
...
Fixes #139
2016-09-11 16:02:46 -04:00
Justin Burkett
ad9b0e43bc
Merge pull request #137 from tarsius/outlines
...
Follow conventions for section headers
2016-08-31 19:55:26 -04:00
Justin Burkett
df90df61b3
Merge pull request #136 from tarsius/fixup
...
Move definition of which-key--local-binding-p
2016-08-31 19:55:03 -04:00
Jonas Bernoulli
1c4bea2d09
Follow conventions for section headers
...
Doing so allows the use of `outline-minor-mode' makes it possible
to navigate sections similarly to how that is done in `org-mode'.
2016-09-01 01:26:10 +02:00
Jonas Bernoulli
fe21ce6f0b
Move definition of which-key--local-binding-p
...
It has to be defined after the inline functions which it uses.
2016-08-31 14:41:41 +02:00
Justin Burkett
1eace34a1f
Version 1.1.15
2016-08-17 11:17:45 -04:00
Justin Burkett
b7cce2d0a7
Add note about setting delay to zero
2016-08-17 11:17:16 -04:00
Justin Burkett
06444f300e
Fix minibuffer echo not displaying
...
See #133
2016-08-17 11:11:56 -04:00
justbur
979b984290
Version 1.1.14
...
Tagged wrong commit
2016-07-28 09:21:32 -04:00
justbur
c03f179e25
Disable hack for echo area
...
Seems to cause more problems (like completion commands sometimes being
overwritten) than it solves.
2016-07-28 09:17:19 -04:00
justbur
b7e1906dd6
Fix Makefile
2016-07-27 09:22:38 -04:00
justbur
eb4a6f6e25
Add allow-imprecise-window-fit option
...
Possible fix for #130
When enabled this option avoids the use of fit-window-to-buffer to
resize the popup. My profiling suggested that emacs was spending a lot
of time in this function (and hanging sometimes) with different fonts. I
noticed this with Roboto Mono on MSWindows, which should explain #130 .
2016-07-09 15:25:50 -04:00
justbur
9ec4b6a258
Explicitly set tab-width when collecting bindings
...
For some reason indent-tabs-mode doesn't use tabs with strange
tab-widths.
See https://github.com/syl20bnr/spacemacs/issues/6497
2016-07-06 15:16:40 -04:00
justbur
71b0b83a27
Fix previous commit
2016-07-05 09:05:47 -04:00
justbur
adfcd0e73b
Add whitelist and blacklist options
...
which-key-allow-regexps is a list of regexps that allow the popup when
one is matched
which-key-inhibit-regexps inhibits the popup when one regexp matches
The string matched against is the current key sequence as produced by
key-description.
Fixes #129
2016-07-05 08:58:40 -04:00
justbur
9184b1bcbf
Remove setup code
...
It's no longer necessary and makes changing echo-keystrokes annoying.
2016-06-17 08:42:18 -04:00
justbur
ff66d8abc7
Make current-prefix nil when not showing popup
2016-06-16 11:01:53 -04:00
justbur
6adadec740
Use sit-for instead of timer for delay functions
2016-06-16 10:10:51 -04:00
justbur
c2fb61f2f8
Fix arg to which-key-delay-functions
2016-06-14 21:45:10 -04:00
justbur
e4d61490e8
Redesign delayed keys implementation
...
Everything is controlled through which-key-delay-functions now.
Ref #128
2016-06-14 21:42:34 -04:00
justbur
12d2266d9d
Fix bug in previous commit
2016-06-09 22:39:47 -04:00
justbur
322cda0e78
Introduce delayed prefixes
...
One version of idea in #128 . This design is subject to change.
2016-06-09 22:37:11 -04:00
justbur
13316578c8
Bump version
2016-05-27 09:35:27 -04:00
justbur
d031bad7b6
Fix performance issue with secondary timer
...
The secondary timer option was restarting the timer every time through
the update function, which caused the cpu to max out. Adds a flag so
that the timer is only restarted when necessary.
Fixes #126
2016-05-27 09:31:35 -04:00
justbur
169c1ad725
Bump version
2016-05-26 11:19:02 -04:00
justbur
8fee7c168e
Fix --echo when echo-keystrokes nil
2016-05-26 11:16:43 -04:00
justbur
3018a537f5
Remove some unused code in comments
2016-05-24 21:37:52 -04:00
justbur
e8a66637c7
Change name of arg in define-key-recursively
...
Also clarify docstring
2016-05-24 12:44:50 -04:00
justbur
c6ad06c03d
New screenshots
2016-05-16 21:25:05 -04:00
justbur
1b611e9947
More cleanup of README
2016-05-16 21:18:59 -04:00
justbur
02ee845072
README typo
2016-05-16 21:15:28 -04:00
justbur
642373e356
Fix comment about special keys in README
2016-05-16 21:08:18 -04:00
justbur
0c32f52bfc
Update docs for new sort function
2016-05-16 21:06:23 -04:00
justbur
c18ff1c131
Add which-key-local-then-key-order
...
To use (setq which-key-sort-order 'which-key-local-then-key-order)
See #125
2016-05-16 15:35:33 -04:00
justbur
484f4ff9a7
Bump version
2016-05-13 09:05:03 -04:00
justbur
796d0ccefb
Account for echo-keystrokes = which-key-idle-delay
...
Ref #123
2016-05-12 08:39:38 -04:00
justbur
e151eebebf
Bump version
2016-05-07 08:07:55 -04:00
Justin Burkett
7ccae62f0d
Merge pull request #122 from redguardtoo/master
...
tooltip-mode does in exist in emacs-nox #120
2016-05-07 08:03:05 -04:00
Chen Bin
df41a62dc8
tooltip-mode does in exist in emacs-nox #120
2016-05-07 14:22:53 +10:00
justbur
9883acc887
Bump version
2016-05-05 10:31:45 -04:00
justbur
e13a378a9d
Backport two frame width functions for 24.3 support
...
Fixes #119
2016-05-05 10:30:44 -04:00