Review comments: shorter prefix name and :commands above :init

This commit is contained in:
Deepu Mohan Puthrote 2018-09-08 10:43:17 +01:00 committed by Codruț Constantin Gușoi
parent d68af4833f
commit afa6f0ba66
1 changed files with 8 additions and 8 deletions

View File

@ -34,17 +34,17 @@
(defun spotify/init-counsel-spotify ()
(use-package counsel-spotify
:defer t
:commands (counsel-spotify-search-artist
counsel-spotify-search-album
counsel-spotify-search-track
counsel-spotify-search-tracks-by-artist
counsel-spotify-search-tracks-by-album)
:init (progn
(spacemacs/declare-prefix "amss" "counsel-spotify-search")
(spacemacs/declare-prefix "amssT" "search-tracks-by...")
(spacemacs/declare-prefix "amss" "search")
(spacemacs/declare-prefix "amssT" "tracks")
(spacemacs/set-leader-keys
"amssa" 'counsel-spotify-search-artist
"amssA" 'counsel-spotify-search-album
"amsst" 'counsel-spotify-search-track
"amssTa" 'counsel-spotify-search-tracks-by-artist
"amssTA" 'counsel-spotify-search-tracks-by-album))
:commands (counsel-spotify-search-artist
counsel-spotify-search-album
counsel-spotify-search-track
counsel-spotify-search-tracks-by-artist
counsel-spotify-search-tracks-by-album)))
"amssTA" 'counsel-spotify-search-tracks-by-album))))