This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+vim/evil-snipe/packages.el
justbur 6eab954afe Use + instead of ! for layer categories
Helm seems to treat "!" specially in pattern matching, so having a ! in
the pattern string when traversing directories is problematic. This
change fixes #2737, because as far as I can tell "+" has no special
meaning in a helm pattern.

Of course, we can choose a different character, but I'm fond of "+" as
representing "more layers here".
2015-09-11 00:13:51 -04:00

18 lines
598 B
EmacsLisp

(setq evil-snipe-packages '(evil-snipe))
(defun evil-snipe/init-evil-snipe ()
(use-package evil-snipe
:diminish evil-snipe-mode
:init
(setq evil-snipe-scope 'whole-buffer
evil-snipe-enable-highlight t
evil-snipe-enable-incremental-highlight t
evil-snipe-auto-disable-substitute t
evil-snipe-show-prompt nil
evil-snipe-smart-case t)
:config
(progn
(evil-snipe-mode 1)
(when evil-snipe-enable-alternate-f-and-t-behaviors
(setq evil-snipe-repeat-scope 'whole-buffer)
(evil-snipe-override-mode 1)))))