| 1 | ;;; packages.el --- evil Layer packages File for Spacemacs |
| 2 | ;; |
| 3 | ;; Copyright (c) 2012-2014 Sylvain Benner |
| 4 | ;; Copyright (c) 2014-2015 Sylvain Benner & Contributors |
| 5 | ;; Copyright (c) 2015 Amin Bandali |
| 6 | ;; |
| 7 | ;; Authors: Amin Bandali <me@aminb.org> |
| 8 | ;; Sylvain Benner <sylvain.benner@gmail.com> |
| 9 | ;; URL: https://github.com/aminb/dotfiles |
| 10 | ;; |
| 11 | ;; This file is not part of GNU Emacs; nor that of spacemacs. |
| 12 | ;; |
| 13 | ;;; License: GPLv3 |
| 14 | |
| 15 | (defvar evil-packages |
| 16 | '( |
| 17 | ;; package evils go here |
| 18 | ) |
| 19 | "List of all packages to install and/or initialize. Built-in packages |
| 20 | which require an initialization must be listed explicitly in the list.") |
| 21 | |
| 22 | (defvar evil-excluded-packages '( |
| 23 | ;; evil-search-highlight-persist |
| 24 | ) |
| 25 | "List of packages to exclude.") |
| 26 | |
| 27 | (define-key evil-motion-state-map ";" 'evil-ex) |
| 28 | (define-key evil-motion-state-map ":" 'evil-repeat-find-char) |
| 29 | |
| 30 | (custom-set-faces '(evil-search-highlight-persist-highlight-face ((t (:background "#5F5F5F"))))) |
| 31 | |
| 32 | ;; For each package, define a function evil/init-<package-evil> |
| 33 | ;; |
| 34 | ;; (defun evil/init-my-package () |
| 35 | ;; "Initialize my package" |
| 36 | ;; ) |
| 37 | ;; |
| 38 | ;; Often the body of an initialize function uses `use-package' |
| 39 | ;; For more info on `use-package', see readme: |
| 40 | ;; https://github.com/jwiegley/use-package |