From 4a5f3a80f269430a089b6d3c6a285292aa89ba21 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 21 Feb 2015 23:23:52 -0500 Subject: [PATCH] [spacemacs] add my evil contrib layer --- spacemacs/.emacs.d/private/evil/extensions.el | 33 +++++++++++++++ spacemacs/.emacs.d/private/evil/packages.el | 40 +++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 spacemacs/.emacs.d/private/evil/extensions.el create mode 100644 spacemacs/.emacs.d/private/evil/packages.el 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 -- 2.20.1