This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+fun/selectric/packages.el

21 lines
613 B
EmacsLisp
Raw Normal View History

;;; packages.el --- selectric Layer packages File for Spacemacs
;;
;; Copyright (c) 2012-2017 Sylvain Benner & Contributors
;;
;; Author: Gergely Nagy
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
(setq selectric-packages '(selectric-mode))
(defun selectric/init-selectric-mode ()
(use-package selectric-mode
;; 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")))