From 8e0d67f625d48c296fc558d7a981cc323dc8e951 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 1 Mar 2015 00:30:02 -0500 Subject: [PATCH] Update evil-snipe config --- core/core-evil.el | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/core/core-evil.el b/core/core-evil.el index f331b2423..d682bc980 100644 --- a/core/core-evil.el +++ b/core/core-evil.el @@ -61,7 +61,8 @@ (use-package evil-numbers) - (use-package evil-matchit :init (global-evil-matchit-mode 1)) + (use-package evil-matchit + :init (global-evil-matchit-mode 1)) (use-package evil-surround :init (global-evil-surround-mode 1)) @@ -81,9 +82,15 @@ :init (global-evil-snipe-mode) :config (progn - (evil-snipe-replace-evil) (setq evil-snipe-smart-case t) - ;; (evil-snipe-enable-sS) + (setq evil-snipe-override-evil t) + (setq evil-snipe-scope 'visible) + (setq evil-snipe-repeat-scope 'whole-visible) + + (setq-default evil-snipe-symbol-groups + '((?\[ "[[{(]") + (?\] "[]})]"))) + (bind 'visual "z" 'evil-snipe-s) (bind 'visual "Z" 'evil-snipe-S)))