summaryrefslogtreecommitdiff
path: root/keycast-conf.el
AgeCommit message (Collapse)Author
2022-01-13keycast-conf: Display in the active windowJSDurand
* keycast-conf.el (keycast-window-predicate): Use the function `modeline-active-window-p' from my custom file "modeline.el" to determine whether a window is the currently active window, and then display the key cast information in that active window only. * modeline.el (modeline-get-active-window, modeline-format-keycast): A slight refactor. (modeline-format-keycast): Use bound-and-true-p to test the mode variable, so as to avoid errors when durand-keycast-mode has not yet been loaded.
2022-01-12Use the package "keycast"JSDurand
Now I can conveniently display my key-bindings in the mode line.