2015-12-09 12:31:06 +00:00
|
|
|
;;; packages.el --- selectric Layer packages File for Spacemacs
|
|
|
|
;;
|
2021-03-22 20:11:29 +00:00
|
|
|
;; Copyright (c) 2012-2021 Sylvain Benner & Contributors
|
2015-12-09 12:31:06 +00:00
|
|
|
;;
|
|
|
|
;; Author: Gergely Nagy
|
|
|
|
;; URL: https://github.com/syl20bnr/spacemacs
|
|
|
|
;;
|
|
|
|
;; This file is not part of GNU Emacs.
|
|
|
|
;;
|
|
|
|
;;; License: GPLv3
|
|
|
|
|
|
|
|
(setq selectric-packages '(selectric-mode))
|
|
|
|
|
2015-12-09 23:53:29 +00:00
|
|
|
(defun selectric/init-selectric-mode ()
|
2015-12-09 12:31:06 +00:00
|
|
|
(use-package selectric-mode
|
2015-12-09 23:53:29 +00:00
|
|
|
;; at the moment of adding this layer, selectric-mode is not
|
|
|
|
;; autoloaded.
|
|
|
|
:commands selectric-mode
|
|
|
|
:init (spacemacs/set-leader-keys "C-t t" 'selectric-mode)
|
|
|
|
:config (spacemacs|diminish selectric-mode "♬" "Tw")))
|