From d3a7fd08ed86ffc5470bef752f10374675423a4f Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 3 Nov 2015 23:45:15 -0500 Subject: [PATCH] Clean up --- core/core-evil.el | 4 ++-- private/my-bindings.el | 10 +++++----- private/my-commands.el | 1 + 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/core/core-evil.el b/core/core-evil.el index 5a5a7058c..f5bd48225 100644 --- a/core/core-evil.el +++ b/core/core-evil.el @@ -210,7 +210,7 @@ (use-package evil-snipe :diminish evil-snipe-local-mode - :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 ) + :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) :init (setq-default evil-snipe-smart-case t @@ -244,7 +244,7 @@ :config (global-evil-surround-mode 1) ;; Escaped surround characters - (push '(?\\ . narf/evil-surround-escaped) evil-surround-pairs-alist)) + (setq-default surround-pairs-alist (cons '(?\\ . narf/evil-surround-escaped) evil-surround-pairs-alist))) (use-package evil-visualstar :commands (global-evil-visualstar-mode diff --git a/private/my-bindings.el b/private/my-bindings.el index 2e1e56da7..309221c81 100644 --- a/private/my-bindings.el +++ b/private/my-bindings.el @@ -112,11 +112,11 @@ ;; (:prefix "\\" - :nv "\\" 'narf-switch-to-iterm - :nv "|" 'narf/neotree-toggle - :nv "." 'narf/neotree-find - :nv ";" 'narf/nlinum-toggle - :nv "E" 'evil-emacs-state + :nv "\\" 'narf/neotree-toggle + :nv "|" 'narf-switch-to-iterm + :nv "." 'narf/neotree-find + :nv ";" 'narf/nlinum-toggle + :nv "E" 'evil-emacs-state :n "]" 'next-buffer :n "[" 'previous-buffer diff --git a/private/my-commands.el b/private/my-commands.el index a89d647df..51709ce51 100644 --- a/private/my-commands.el +++ b/private/my-commands.el @@ -48,6 +48,7 @@ (after! workgroups2 (exmap "sl[oad]" 'narf:load-session) (exmap "ss[ave]" 'narf:save-session) + (exmap "wg" 'narf:workgroup-display) (exmap "tab" 'narf:workgroup-display) (exmap "t[ab]new" 'narf:workgroup-new) (exmap "tabre[name]" 'narf:workgroup-rename)