From 6fc367ff528f5693e679da1f6db43da432456d1e Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 5 Jun 2015 09:29:21 -0400 Subject: [PATCH] Update packages.el Updated evil-snipe config to reflect changes to the plugin. --- contrib/!vim/evil-snipe/packages.el | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/contrib/!vim/evil-snipe/packages.el b/contrib/!vim/evil-snipe/packages.el index 12543e818..1ed74eaf9 100644 --- a/contrib/!vim/evil-snipe/packages.el +++ b/contrib/!vim/evil-snipe/packages.el @@ -4,15 +4,15 @@ (use-package evil-snipe :diminish evil-snipe-mode :init - (progn - (setq evil-snipe-scope 'whole-buffer - evil-snipe-enable-highlight t - evil-snipe-enable-incremental-highlight t - evil-snipe-enable-half-cursor nil - evil-snipe-show-prompt nil - evil-snipe-smart-case t) + (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-evil t)) - (add-hook 'prog-mode-hook 'evil-snipe-mode) - (add-hook 'text-mode-hook 'evil-snipe-mode)))) + (setq evil-snipe-repeat-scope 'whole-buffer) + (evil-snipe-override-evil 1)))))