map!: remove buffer-local :desc properties

which-key labels are registered globally, and will not work for
buffer-local keybinds. Until general is brought in, we'll have to suffer
label-less localleader keybinds.
This commit is contained in:
Henrik Lissner 2018-10-07 21:32:42 -04:00
parent f0465f22cc
commit cdf745e72a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
6 changed files with 117 additions and 120 deletions

View file

@ -121,21 +121,20 @@ playback.")
;; distinguish chat/channel buffers from server buffers.
(add-hook 'circe-chat-mode-hook #'solaire-mode))
(map!
(:localleader
(:map circe-mode-map
:desc "Next active buffer" :n "a" #'tracking-next-buffer
:desc "Join channel" :n "j" #'circe-command-JOIN
:desc "Send private message" :n "m" #'+irc/send-message
:desc "Part current channel" :n "p" #'circe-command-PART
:desc "Quit irc" :n "Q" #'+irc/quit
:desc "Reconnect" :n "R" #'circe-reconnect
(map! :localleader
(:map circe-mode-map
:n "a" #'tracking-next-buffer
:n "j" #'circe-command-JOIN
:n "m" #'+irc/send-message
:n "p" #'circe-command-PART
:n "Q" #'+irc/quit
:n "R" #'circe-reconnect
(:when (featurep! :completion ivy)
:desc "Jump to channel" :n "c" #'+irc/ivy-jump-to-channel))
(:when (featurep! :completion ivy)
:n "c" #'+irc/ivy-jump-to-channel))
(:map circe-channel-mode-map
:desc "Show names" :n "n" #'circe-command-NAMES))))
(:map circe-channel-mode-map
:n "n" #'circe-command-NAMES)))
(def-package! circe-color-nicks