summaryrefslogtreecommitdiffstats
path: root/spacemacs/.emacs.d/private
diff options
context:
space:
mode:
authorAmin Bandali <me@aminb.org>2015-02-21 23:23:52 -0500
committerAmin Bandali <me@aminb.org>2015-02-21 23:23:52 -0500
commit4a5f3a80f269430a089b6d3c6a285292aa89ba21 (patch)
tree2aed91d871dfb967c33f467c2856536a6534a420 /spacemacs/.emacs.d/private
parenta067821153b3cfb72517ea8b252dce9ee128d803 (diff)
downloadconfigs-4a5f3a80f269430a089b6d3c6a285292aa89ba21.tar.gz
configs-4a5f3a80f269430a089b6d3c6a285292aa89ba21.tar.xz
configs-4a5f3a80f269430a089b6d3c6a285292aa89ba21.zip
[spacemacs] add my evil contrib layer
Diffstat (limited to '')
-rw-r--r--spacemacs/.emacs.d/private/evil/extensions.el33
-rw-r--r--spacemacs/.emacs.d/private/evil/packages.el40
2 files changed, 73 insertions, 0 deletions
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 <sylvain.benner@gmail.com>
+;; 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-<extension-evil>
+;;
+;; (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 <me@aminb.org>
+;; Sylvain Benner <sylvain.benner@gmail.com>
+;; 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-<package-evil>
+;;
+;; (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