[spacemacs] add my evil contrib layer
authorAmin Bandali <me@aminb.org>
Sun, 22 Feb 2015 04:23:52 +0000 (23:23 -0500)
committerAmin Bandali <me@aminb.org>
Sun, 22 Feb 2015 04:23:52 +0000 (23:23 -0500)
spacemacs/.emacs.d/private/evil/extensions.el [new file with mode: 0644]
spacemacs/.emacs.d/private/evil/packages.el [new file with mode: 0644]

diff --git a/spacemacs/.emacs.d/private/evil/extensions.el b/spacemacs/.emacs.d/private/evil/extensions.el
new file mode 100644 (file)
index 0000000..81926bf
--- /dev/null
@@ -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 (file)
index 0000000..2b44788
--- /dev/null
@@ -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