summaryrefslogtreecommitdiff
path: root/evil-vars.el
diff options
context:
space:
mode:
Diffstat (limited to 'evil-vars.el')
-rw-r--r--evil-vars.el32
1 files changed, 32 insertions, 0 deletions
diff --git a/evil-vars.el b/evil-vars.el
new file mode 100644
index 0000000..7a7d874
--- /dev/null
+++ b/evil-vars.el
@@ -0,0 +1,32 @@
+;;;; Settings and variables
+
+(defvar evil-state nil
+ "The current Evil state.
+To change the state, use `evil-change-state'
+or call the state function (e.g., `evil-vi-state').")
+(make-variable-buffer-local 'evil-state)
+
+(defvar evil-modeline-tag nil
+ "Modeline indicator for the current state.")
+(make-variable-buffer-local 'evil-modeline-tag)
+
+(defvar evil-states-alist nil
+ "Specifications made by `evil-define-state'.
+Entries have the form (STATE . PLIST), where PLIST is a property
+list specifying various aspects of the state. To access a property,
+use `evil-state-property'.")
+
+(defvar evil-mode-map-alist nil
+ "Association list of keymaps to use for Evil modes.
+Elements have the form (MODE . KEYMAP), with the first keymaps
+having higher priority.")
+(make-variable-buffer-local 'evil-mode-map-alist)
+
+(defconst evil-version "0.1"
+ "The current version of Evil")
+
+(defun evil-version ()
+ (interactive)
+ (message "Evil version %s" evil-version))
+
+(provide 'evil-vars)