Eagerly load helm
Autoloading helm does not work well with custom keybindings. Binding our default "C-c h" to either `helm-command-map' or `helm-command-prefix' gives errors, as both are not commands. In the previous configuration, the prefix "C-c h" was initially undefined and only defined when helm was loaded. This led to irritating behavior. All this can be fixed by eagerly loading helm. This may slow down startup, in particular on Windows, but it should be worth it.
This commit is contained in:
parent
abc06188b7
commit
8ae7d9d7f8
6
init.el
6
init.el
|
@ -109,6 +109,7 @@
|
|||
ace-window-display-mode
|
||||
key-chord-mode
|
||||
ivy-mode
|
||||
helm-mode
|
||||
minions-mode
|
||||
which-key-mode
|
||||
eyebrowse-mode
|
||||
|
@ -1887,7 +1888,7 @@ With given ARG, display files in `db/important-document-path’."
|
|||
|
||||
(use-package helm
|
||||
:ensure t
|
||||
:commands (helm-show-kill-ring)
|
||||
:defer t
|
||||
:diminish helm-mode
|
||||
:bind (:map helm-command-map
|
||||
("#" . db/play-radio-stations)
|
||||
|
@ -1918,6 +1919,9 @@ With given ARG, display files in `db/important-document-path’."
|
|||
(bind-key "C-i" #'helm-execute-persistent-action helm-map)
|
||||
(bind-key "C-z" #'helm-select-action helm-map)))
|
||||
|
||||
(use-package helm-ring
|
||||
:commands (helm-show-kill-ring))
|
||||
|
||||
(use-package ivy
|
||||
:ensure t
|
||||
:commands (ivy-mode
|
||||
|
|
Loading…
Reference in New Issue