From: Amin Bandali Date: Sun, 22 Feb 2015 04:23:52 +0000 (-0500) Subject: [spacemacs] add my evil contrib layer X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/4a5f3a80f269430a089b6d3c6a285292aa89ba21?ds=inline;hp=a067821153b3cfb72517ea8b252dce9ee128d803 [spacemacs] add my evil contrib layer --- diff --git a/spacemacs/.emacs.d/private/evil/extensions.el b/spacemacs/.emacs.d/private/evil/extensions.el new file mode 100644 index 0000000..81926bf --- /dev/null +++ b/spacemacs/.emacs.d/private/evil/extensions.el @@ -0,0 +1,33 @@ +;;; extensions.el --- evil Layer extensions File for Spacemacs +;; +;; Copyright (c) 2012-2014 Sylvain Benner +;; Copyright (c) 2014-2015 Sylvain Benner & Contributors +;; +;; Author: Sylvain Benner +;; URL: https://github.com/syl20bnr/spacemacs +;; +;; This file is not part of GNU Emacs. +;; +;;; License: GPLv3 + +(defvar evil-pre-extensions + '( + ;; pre extension evils go here + ) + "List of all extensions to load before the packages.") + +(defvar evil-post-extensions + '( + ;; post extension evils go here + ) + "List of all extensions to load after the packages.") + +;; For each extension, define a function evil/init- +;; +;; (defun evil/init-my-extension () +;; "Initialize my extension" +;; ) +;; +;; Often the body of an initialize function uses `use-package' +;; For more info on `use-package', see readme: +;; https://github.com/jwiegley/use-package diff --git a/spacemacs/.emacs.d/private/evil/packages.el b/spacemacs/.emacs.d/private/evil/packages.el new file mode 100644 index 0000000..2b44788 --- /dev/null +++ b/spacemacs/.emacs.d/private/evil/packages.el @@ -0,0 +1,40 @@ +;;; packages.el --- evil Layer packages File for Spacemacs +;; +;; Copyright (c) 2012-2014 Sylvain Benner +;; Copyright (c) 2014-2015 Sylvain Benner & Contributors +;; Copyright (c) 2015 Amin Bandali +;; +;; Authors: Amin Bandali +;; Sylvain Benner +;; URL: https://github.com/aminb/dotfiles +;; +;; This file is not part of GNU Emacs; nor that of spacemacs. +;; +;;; License: GPLv3 + +(defvar evil-packages + '( + ;; package evils go here + ) + "List of all packages to install and/or initialize. Built-in packages +which require an initialization must be listed explicitly in the list.") + +(defvar evil-excluded-packages '( + ;; evil-search-highlight-persist + ) + "List of packages to exclude.") + +(define-key evil-motion-state-map ";" 'evil-ex) +(define-key evil-motion-state-map ":" 'evil-repeat-find-char) + +(custom-set-faces '(evil-search-highlight-persist-highlight-face ((t (:background "#5F5F5F"))))) + +;; For each package, define a function evil/init- +;; +;; (defun evil/init-my-package () +;; "Initialize my package" +;; ) +;; +;; Often the body of an initialize function uses `use-package' +;; For more info on `use-package', see readme: +;; https://github.com/jwiegley/use-package