2015-06-06 06:40:33 -04:00
|
|
|
;;; core-evil.el --- the root of all evil
|
2015-06-15 09:05:52 +02:00
|
|
|
;; see lib/evil-defuns.el
|
2015-06-06 06:40:33 -04:00
|
|
|
|
2015-06-04 18:23:21 -04:00
|
|
|
(use-package evil
|
|
|
|
:init
|
2015-10-15 14:01:53 -04:00
|
|
|
;; highlight matching delimiters where it's important
|
|
|
|
(defun show-paren-mode-off () (show-paren-mode -1))
|
|
|
|
(add-hook! evil-insert-state-entry 'show-paren-mode)
|
|
|
|
(add-hook! evil-insert-state-exit 'show-paren-mode-off)
|
|
|
|
(add-hook! evil-visual-state-entry 'show-paren-mode)
|
|
|
|
(add-hook! evil-visual-state-exit 'show-paren-mode-off)
|
|
|
|
(add-hook! evil-motion-state-entry 'show-paren-mode)
|
|
|
|
(add-hook! evil-motion-state-exit 'show-paren-mode-off)
|
|
|
|
(add-hook! evil-operator-state-entry 'show-paren-mode)
|
|
|
|
(add-hook! evil-operator-state-exit 'show-paren-mode-off)
|
|
|
|
|
2015-06-06 06:40:33 -04:00
|
|
|
;; Always ensure evil-shift-width is consistent with tab-width
|
2015-06-15 09:05:52 +02:00
|
|
|
(add-hook! evil-local-mode (setq evil-shift-width tab-width))
|
2015-10-15 14:01:53 -04:00
|
|
|
;; Disable highlights on insert-mode
|
|
|
|
(add-hook! evil-insert-state-entry 'evil-ex-nohighlight)
|
2015-06-04 18:23:21 -04:00
|
|
|
:config
|
2015-10-15 14:01:53 -04:00
|
|
|
(setq evil-magic t
|
|
|
|
evil-want-C-u-scroll t ; enable C-u for scrolling
|
2015-06-06 06:40:33 -04:00
|
|
|
evil-ex-visual-char-range t ; column range for ex commands
|
2015-10-15 14:01:53 -04:00
|
|
|
evil-want-fine-undo nil
|
2015-07-03 00:26:27 +02:00
|
|
|
evil-want-visual-char-semi-exclusive t
|
2015-06-06 06:40:33 -04:00
|
|
|
evil-ex-search-vim-style-regexp t
|
|
|
|
evil-ex-interactive-search-highlight 'selected-window
|
2015-10-13 00:44:47 -04:00
|
|
|
evil-echo-state nil
|
2015-11-17 02:04:05 -05:00
|
|
|
evil-ex-substitute-global t
|
2015-06-06 06:40:33 -04:00
|
|
|
|
|
|
|
;; Color-coded state cursors
|
2015-11-09 15:55:03 -05:00
|
|
|
evil-normal-state-cursor 'box
|
|
|
|
evil-emacs-state-cursor 'bar
|
|
|
|
evil-insert-state-cursor 'bar
|
|
|
|
evil-visual-state-cursor 'hollow
|
|
|
|
evil-iedit-state-cursor 'box)
|
2015-06-06 06:40:33 -04:00
|
|
|
|
|
|
|
(evil-mode 1)
|
|
|
|
(evil-select-search-module 'evil-search-module 'evil-search)
|
2015-06-15 09:05:52 +02:00
|
|
|
|
2015-10-28 03:31:51 -04:00
|
|
|
(evil-define-key 'normal evil-command-window-mode-map [escape] 'kill-buffer-and-window)
|
2015-06-06 06:40:33 -04:00
|
|
|
|
2015-11-17 02:04:05 -05:00
|
|
|
;; Monkey-patch an error triggered randomly during column-selection; is caused
|
|
|
|
;; by `extract-rectangle-line' receiving a float.
|
|
|
|
(defun narf*evil-extract-rectangle-line-fix (args)
|
|
|
|
(mapcar (lambda (i) (if (numberp i) (truncate i) i)) args))
|
|
|
|
(advice-add 'extract-rectangle-line :filter-args 'narf*evil-extract-rectangle-line-fix)
|
|
|
|
|
2015-06-06 06:40:33 -04:00
|
|
|
;; modes to map to different default states
|
|
|
|
(dolist (mode-map '((cider-repl-mode . emacs)
|
|
|
|
(comint-mode . emacs)
|
|
|
|
(term-mode . emacs)
|
|
|
|
(help-mode . normal)
|
|
|
|
(message-mode . normal)
|
2015-09-29 09:53:45 -04:00
|
|
|
(compilation-mode . normal)))
|
2015-06-06 06:40:33 -04:00
|
|
|
(evil-set-initial-state `,(car mode-map) `,(cdr mode-map)))
|
|
|
|
|
|
|
|
(progn ; evil hacks
|
2015-10-28 03:31:51 -04:00
|
|
|
(defadvice evil-force-normal-state (after evil-esc-quit activate)
|
2015-11-17 02:04:05 -05:00
|
|
|
"Close popwin windows, disable search highlights and quit the minibuffer if open."
|
|
|
|
(when (popwin:popup-window-live-p)
|
|
|
|
(popwin:close-popup-window))
|
2015-06-06 06:40:33 -04:00
|
|
|
(ignore-errors
|
2015-11-17 02:04:05 -05:00
|
|
|
(evil-ex-nohighlight))
|
|
|
|
(when (minibuffer-window-active-p (minibuffer-window))
|
|
|
|
(narf-minibuffer-quit)))
|
|
|
|
|
2015-10-18 02:27:40 -04:00
|
|
|
;; Fix disruptive errors w/ hidden buffers caused by popwin
|
|
|
|
(defadvice evil-ex-hl-do-update-highlight (around evil-ex-hidden-buffer-ignore-errors activate)
|
|
|
|
(ignore-errors ad-do-it))
|
|
|
|
|
2015-10-28 17:26:18 -04:00
|
|
|
;; buffer-local ex commands, thanks to: http://emacs.stackexchange.com/questions/13186
|
|
|
|
(defun evil-ex-define-cmd-local (cmd function)
|
|
|
|
"Locally binds the function FUNCTION to the command CMD."
|
|
|
|
(unless (local-variable-p 'evil-ex-commands)
|
|
|
|
(setq-local evil-ex-commands (copy-alist evil-ex-commands)))
|
|
|
|
(evil-ex-define-cmd cmd function))
|
|
|
|
|
2015-06-15 09:05:52 +02:00
|
|
|
;; Hide keystroke display while isearch is active
|
|
|
|
(add-hook! isearch-mode (setq echo-keystrokes 0))
|
|
|
|
(add-hook! isearch-mode-end (setq echo-keystrokes 0.02))
|
2015-10-28 03:31:51 -04:00
|
|
|
(let ((map evil-ex-search-keymap))
|
2015-11-17 02:04:05 -05:00
|
|
|
(define-key map "\C-w" 'backward-kill-word)
|
2015-11-09 15:55:03 -05:00
|
|
|
(define-key map "\C-u" 'evil-delete-whole-line))
|
2015-10-28 03:31:51 -04:00
|
|
|
|
2015-10-25 00:39:22 -04:00
|
|
|
;; Repeat motions with SPC/S-SPC
|
|
|
|
(defmacro narf-space-setup! (command next-func prev-func)
|
|
|
|
`(defadvice ,command
|
|
|
|
(before ,(intern (format "narf-space--%s" (symbol-name command))) activate)
|
|
|
|
(define-key evil-motion-state-map (kbd "SPC") ',next-func)
|
|
|
|
(define-key evil-motion-state-map (kbd "S-SPC") ',prev-func)))
|
|
|
|
|
|
|
|
(after! evil-snipe
|
|
|
|
(narf-space-setup! evil-snipe-f evil-snipe-repeat evil-snipe-repeat-reverse)
|
|
|
|
(narf-space-setup! evil-snipe-F evil-snipe-repeat evil-snipe-repeat-reverse)
|
|
|
|
(narf-space-setup! evil-snipe-t evil-snipe-repeat evil-snipe-repeat-reverse)
|
|
|
|
(narf-space-setup! evil-snipe-T evil-snipe-repeat evil-snipe-repeat-reverse)
|
|
|
|
(narf-space-setup! evil-snipe-s evil-snipe-repeat evil-snipe-repeat-reverse)
|
|
|
|
(narf-space-setup! evil-snipe-S evil-snipe-repeat evil-snipe-repeat-reverse)
|
|
|
|
(narf-space-setup! evil-snipe-x evil-snipe-repeat evil-snipe-repeat-reverse)
|
|
|
|
(narf-space-setup! evil-snipe-X evil-snipe-repeat evil-snipe-repeat-reverse))
|
|
|
|
|
|
|
|
(after! evil-visualstar
|
|
|
|
(narf-space-setup! evil-visualstar/begin-search-forward evil-ex-search-next evil-ex-search-previous)
|
|
|
|
(narf-space-setup! evil-visualstar/begin-search-backward evil-ex-search-previous evil-ex-search-next))
|
|
|
|
|
|
|
|
(narf-space-setup! evil-ex-search-next evil-ex-search-next evil-ex-search-previous)
|
|
|
|
(narf-space-setup! evil-ex-search-previous evil-ex-search-next evil-ex-search-previous)
|
|
|
|
|
|
|
|
(narf-space-setup! evil-ex-search-forward evil-ex-search-next evil-ex-search-previous)
|
2015-11-17 02:04:30 -05:00
|
|
|
(narf-space-setup! evil-ex-search-backward evil-ex-search-next evil-ex-search-previous)
|
|
|
|
|
|
|
|
;; A monkey patch to add several substitutions to evil-mode's ex commandline
|
|
|
|
;; other than % and #...
|
|
|
|
;;
|
|
|
|
;; % => full path to file (/project/src/thing.c)
|
|
|
|
;; # => alternative file path (/project/include/thing.h)
|
|
|
|
;; %:p => path to project root (/project/)
|
|
|
|
;; %:d => path to current directory (/project/src/)
|
|
|
|
;; %:e => the file's extension (c)
|
|
|
|
;; %:r => the full path without its extension (/project/src/thing)
|
|
|
|
;; %:t => the file's basename (thing.c)
|
|
|
|
;;
|
|
|
|
;; Requires projectile (https://github.com/bbatsov/projectile) for
|
|
|
|
;; project-awareness, and f.el (https://github.com/rejeep/f.el) for file
|
|
|
|
;; functions.
|
|
|
|
(defun evil-ex-replace-special-filenames (file-name)
|
|
|
|
"Replace special symbols in FILE-NAME."
|
|
|
|
(let ((current-fname (buffer-file-name))
|
|
|
|
(alternate-fname (and (other-buffer)
|
|
|
|
(buffer-file-name (other-buffer)))))
|
|
|
|
(setq file-name
|
|
|
|
;; %:p:h => the project root (or current directory otherwise)
|
|
|
|
(replace-regexp-in-string "\\(^\\|[^\\\\]\\)\\(%:p\\)"
|
|
|
|
(projectile-project-root) file-name t t 2))
|
|
|
|
(setq file-name
|
|
|
|
;; %:p => the project root (or current directory otherwise)
|
|
|
|
(replace-regexp-in-string "\\(^\\|[^\\\\]\\)\\(%:d\\)"
|
|
|
|
default-directory file-name t t 2))
|
|
|
|
(when current-fname
|
|
|
|
(setq file-name
|
|
|
|
;; %:e => ext
|
|
|
|
(replace-regexp-in-string "\\(^\\|[^\\\\]\\)\\(%:e\\)"
|
|
|
|
(f-ext current-fname) file-name t t 2))
|
|
|
|
(setq file-name
|
|
|
|
;; %:r => filename
|
|
|
|
(replace-regexp-in-string "\\(^\\|[^\\\\]\\)\\(%:r\\)"
|
|
|
|
(f-no-ext current-fname) file-name t t 2))
|
|
|
|
(setq file-name
|
|
|
|
;; %:t => filename.ext
|
|
|
|
(replace-regexp-in-string "\\(^\\|[^\\\\]\\)\\(%:t\\)"
|
|
|
|
(f-base current-fname) file-name t t 2))
|
|
|
|
(setq file-name
|
|
|
|
;; % => file path for current frame
|
|
|
|
(replace-regexp-in-string "\\(^\\|[^\\\\]\\)\\(%\\)"
|
|
|
|
current-fname file-name t t 2)))
|
|
|
|
(when alternate-fname
|
|
|
|
(setq file-name
|
|
|
|
;; # => file path for alternative frame
|
|
|
|
(replace-regexp-in-string "\\(^\\|[^\\\\]\\)\\(#\\)"
|
|
|
|
alternate-fname file-name t t 2)))
|
|
|
|
(setq file-name
|
|
|
|
(replace-regexp-in-string "\\\\\\([#%]\\)"
|
|
|
|
"\\1" file-name t)))
|
|
|
|
file-name)))
|
2015-06-15 09:05:52 +02:00
|
|
|
|
|
|
|
;; evil plugins
|
2015-10-15 14:01:53 -04:00
|
|
|
(use-package evil-anzu
|
2015-11-10 17:57:10 -05:00
|
|
|
:config (setq anzu-cons-mode-line-p nil
|
2015-11-17 02:04:05 -05:00
|
|
|
anzu-minimum-input-length 2))
|
2015-10-15 14:01:53 -04:00
|
|
|
|
|
|
|
(use-package evil-args
|
|
|
|
:commands (evil-inner-arg evil-outer-arg evil-forward-arg evil-backward-arg evil-jump-out-args)
|
|
|
|
:init
|
|
|
|
(define-key evil-inner-text-objects-map "a" #'evil-inner-arg)
|
2015-11-03 23:44:54 -05:00
|
|
|
(define-key evil-outer-text-objects-map "a" #'evil-outer-arg))
|
2015-06-15 09:05:52 +02:00
|
|
|
|
|
|
|
(use-package evil-commentary
|
|
|
|
:diminish evil-commentary-mode
|
|
|
|
:commands (evil-commentary
|
|
|
|
evil-commentary-yank
|
|
|
|
evil-commentary-line)
|
|
|
|
:config (evil-commentary-mode 1))
|
|
|
|
|
|
|
|
(use-package evil-ex-registers
|
|
|
|
:commands (evil-get-spec-register
|
|
|
|
evil-ex-paste-from-register))
|
|
|
|
|
|
|
|
(use-package evil-exchange
|
|
|
|
:commands evil-exchange
|
|
|
|
:config
|
2015-07-26 13:14:31 +02:00
|
|
|
(advice-add 'evil-force-normal-state :after 'narf*evil-exchange-off))
|
2015-06-15 09:05:52 +02:00
|
|
|
|
|
|
|
(use-package evil-iedit-state
|
2015-11-17 02:04:05 -05:00
|
|
|
:diminish iedit-mode
|
2015-06-15 09:05:52 +02:00
|
|
|
:functions (iedit-current-occurrence-string iedit-restrict-region)
|
|
|
|
:commands (evil-iedit-state evil-iedit-state/iedit-mode)
|
|
|
|
:config
|
2015-10-28 03:31:51 -04:00
|
|
|
(define-key evil-visual-state-map (kbd "SPC") 'narf:iedit-restrict-to-region)
|
|
|
|
(let ((map evil-iedit-state-map))
|
|
|
|
;; Don't interfere with evil-snipe
|
|
|
|
(define-key map "s" nil)
|
|
|
|
(define-key map "S" nil)
|
|
|
|
|
2015-11-09 15:55:03 -05:00
|
|
|
(define-key map "V" 'evil-visual-line)
|
|
|
|
(define-key map "C" 'evil-iedit-state/substitute) ; instead of s/S
|
|
|
|
(define-key map "za" 'iedit-toggle-unmatched-lines-visible)))
|
|
|
|
|
|
|
|
(use-package evil-indent-plus
|
|
|
|
:commands
|
|
|
|
(evil-indent-plus-i-indent
|
|
|
|
evil-indent-plus-a-indent
|
|
|
|
evil-indent-plus-i-indent-up
|
|
|
|
evil-indent-plus-a-indent-up
|
|
|
|
evil-indent-plus-i-indent-up-down
|
|
|
|
evil-indent-plus-a-indent-up-down)
|
|
|
|
:config
|
|
|
|
(define-key evil-inner-text-objects-map "i" 'evil-indent-plus-i-indent)
|
|
|
|
(define-key evil-outer-text-objects-map "i" 'evil-indent-plus-a-indent)
|
|
|
|
(define-key evil-inner-text-objects-map "I" 'evil-indent-plus-i-indent-up)
|
|
|
|
(define-key evil-outer-text-objects-map "I" 'evil-indent-plus-a-indent-up)
|
|
|
|
(define-key evil-inner-text-objects-map "J" 'evil-indent-plus-i-indent-up-down)
|
|
|
|
(define-key evil-outer-text-objects-map "J" 'evil-indent-plus-a-indent-up-down))
|
2015-06-04 18:23:21 -04:00
|
|
|
|
2015-06-15 09:05:52 +02:00
|
|
|
(use-package evil-jumper
|
|
|
|
:init
|
2015-10-28 03:31:51 -04:00
|
|
|
(setq evil-jumper-file (concat narf-temp-dir "jumplist")
|
2015-06-15 09:05:52 +02:00
|
|
|
evil-jumper-auto-center t
|
|
|
|
evil-jumper-auto-save-interval 3600))
|
|
|
|
|
|
|
|
(use-package evil-matchit
|
2015-10-15 14:01:53 -04:00
|
|
|
:commands (evilmi-jump-items evilmi-text-object global-evil-matchit-mode)
|
|
|
|
:config (global-evil-matchit-mode 1)
|
|
|
|
:init
|
|
|
|
(define-key evil-normal-state-map "%" #'evilmi-jump-items)
|
|
|
|
(define-key evil-inner-text-objects-map "%" #'evilmi-text-object)
|
|
|
|
(define-key evil-outer-text-objects-map "%" #'evilmi-text-object))
|
2015-06-15 09:05:52 +02:00
|
|
|
|
2015-08-21 12:40:04 -04:00
|
|
|
(use-package evil-easymotion
|
2015-10-06 20:27:18 -04:00
|
|
|
:defer 1
|
2015-08-21 12:40:04 -04:00
|
|
|
:config
|
|
|
|
(evilem-default-keybindings "g SPC")
|
2015-09-30 13:48:25 -04:00
|
|
|
(evilem-define (kbd "g SPC n") 'evil-ex-search-next)
|
|
|
|
(evilem-define (kbd "g SPC N") 'evil-ex-search-previous)
|
2015-11-09 15:55:03 -05:00
|
|
|
(evilem-define "gs" 'evil-snipe-repeat
|
2015-08-21 12:40:04 -04:00
|
|
|
(lambda ()
|
|
|
|
(save-excursion
|
|
|
|
(ignore-errors
|
|
|
|
(call-interactively #'evil-snipe-s))))
|
|
|
|
nil
|
|
|
|
((evil-snipe-enable-highlight)
|
|
|
|
(evil-snipe-enable-incremental-highlight)))
|
|
|
|
|
2015-11-09 15:55:03 -05:00
|
|
|
(evilem-define "gS" 'evil-snipe-repeat-reverse
|
2015-08-21 12:40:04 -04:00
|
|
|
(lambda ()
|
|
|
|
(save-excursion
|
|
|
|
(ignore-errors
|
|
|
|
(call-interactively #'evil-snipe-s))))
|
|
|
|
nil
|
|
|
|
((evil-snipe-enable-highlight)
|
|
|
|
(evil-snipe-enable-incremental-highlight))))
|
|
|
|
|
2015-06-15 09:05:52 +02:00
|
|
|
(use-package evil-numbers
|
2015-09-30 13:47:57 -04:00
|
|
|
:commands (evil-numbers/inc-at-pt evil-numbers/dec-at-pt))
|
2015-06-15 09:05:52 +02:00
|
|
|
|
2015-11-09 15:55:03 -05:00
|
|
|
(use-package evil-textobj-anyblock
|
|
|
|
:commands (evil-textobj-anyblock-inner-block evil-textobj-anyblock-a-block)
|
|
|
|
:init
|
2015-11-09 20:49:33 -05:00
|
|
|
(define-key evil-inner-text-objects-map "B" 'evil-textobj-anyblock-inner-block)
|
|
|
|
(define-key evil-outer-text-objects-map "B" 'evil-textobj-anyblock-a-block))
|
2015-11-09 15:55:03 -05:00
|
|
|
|
2015-06-15 09:05:52 +02:00
|
|
|
(use-package evil-search-highlight-persist
|
2015-07-26 13:14:31 +02:00
|
|
|
:config
|
|
|
|
(global-evil-search-highlight-persist t)
|
|
|
|
(advice-add 'evil-force-normal-state :after 'evil-search-highlight-persist-remove-all))
|
2015-06-15 09:05:52 +02:00
|
|
|
|
|
|
|
(use-package evil-snipe
|
2015-11-03 17:36:21 -05:00
|
|
|
:diminish evil-snipe-local-mode
|
2015-11-17 02:04:05 -05:00
|
|
|
;; :commands (evil-snipe-f evil-snipe-F
|
|
|
|
;; evil-snipe-t evil-snipe-T
|
|
|
|
;; evil-snipe-s evil-snipe-S
|
|
|
|
;; evil-snipe-x evil-snipe-X)
|
2015-06-15 09:05:52 +02:00
|
|
|
:init
|
|
|
|
(setq-default
|
|
|
|
evil-snipe-smart-case t
|
2015-10-28 17:26:54 -04:00
|
|
|
evil-snipe-repeat-keys nil ; using space to repeat
|
2015-06-15 09:05:52 +02:00
|
|
|
evil-snipe-scope 'line
|
2015-10-15 14:01:53 -04:00
|
|
|
evil-snipe-repeat-scope 'visible
|
2015-09-29 09:53:45 -04:00
|
|
|
evil-snipe-override-evil-repeat-keys nil ; causes problems with remapped ;
|
2015-06-15 09:05:52 +02:00
|
|
|
evil-snipe-symbol-groups '((?\[ "[[{(]")
|
2015-10-28 17:26:54 -04:00
|
|
|
(?\] "[]})]")
|
|
|
|
(?\; "[;:]")))
|
|
|
|
|
2015-11-17 02:04:05 -05:00
|
|
|
;; (define-key evil-normal-state-map "s" nil)
|
|
|
|
;; (define-key evil-normal-state-map "S" nil)
|
|
|
|
;; (define-key evil-motion-state-map "s" 'evil-snipe-s)
|
|
|
|
;; (define-key evil-motion-state-map "S" 'evil-snipe-S)
|
|
|
|
;; (define-key evil-motion-state-map "f" 'evil-snipe-f)
|
|
|
|
;; (define-key evil-motion-state-map "F" 'evil-snipe-F)
|
|
|
|
;; (define-key evil-motion-state-map "t" 'evil-snipe-t)
|
|
|
|
;; (define-key evil-motion-state-map "T" 'evil-snipe-T)
|
|
|
|
;; (define-key evil-operator-state-map "z" 'evil-snipe-s)
|
|
|
|
;; (define-key evil-operator-state-map "Z" 'evil-snipe-S)
|
2015-08-12 15:05:40 +02:00
|
|
|
:config
|
2015-06-15 09:05:52 +02:00
|
|
|
(evil-snipe-mode 1)
|
|
|
|
(evil-snipe-override-mode 1))
|
|
|
|
|
|
|
|
(use-package evil-surround
|
|
|
|
:commands (global-evil-surround-mode
|
|
|
|
evil-surround-edit
|
|
|
|
evil-Surround-edit
|
|
|
|
evil-surround-region)
|
|
|
|
:config
|
|
|
|
(global-evil-surround-mode 1)
|
2015-11-10 18:10:32 -05:00
|
|
|
|
|
|
|
(add-hook! org-mode
|
|
|
|
(mapc (lambda (p) (add-to-list 'evil-surround-pairs-alist p))
|
|
|
|
'((?l . narf/evil-surround-latex))))
|
|
|
|
|
|
|
|
(add-hook! emacs-lisp-mode
|
|
|
|
(setq evil-surround-pairs-alist
|
|
|
|
(cons '(?\` . ("`" . "*")) evil-surround-pairs-alist)))
|
|
|
|
|
|
|
|
(add-hook! python-mode
|
|
|
|
(setq evil-surround-pairs-alist
|
|
|
|
(cons '(?d . ("\"\"\"" . "\"\"\"")) evil-surround-pairs-alist)))
|
|
|
|
|
2015-06-15 09:05:52 +02:00
|
|
|
;; Escaped surround characters
|
2015-11-09 15:55:03 -05:00
|
|
|
(setq-default evil-surround-pairs-alist
|
|
|
|
(cons '(?\\ . narf/evil-surround-escaped)
|
|
|
|
evil-surround-pairs-alist)))
|
2015-06-15 09:05:52 +02:00
|
|
|
|
|
|
|
(use-package evil-visualstar
|
|
|
|
:commands (global-evil-visualstar-mode
|
|
|
|
evil-visualstar/begin-search
|
|
|
|
evil-visualstar/begin-search-forward
|
|
|
|
evil-visualstar/begin-search-backward)
|
|
|
|
:config
|
|
|
|
(global-evil-visualstar-mode 1))
|
2015-06-04 18:23:21 -04:00
|
|
|
|
|
|
|
(provide 'core-evil)
|
|
|
|
;;; core-evil.el ends here
|