From 3b93b4a1b008f98addd140718d9cd35fe32fc342 Mon Sep 17 00:00:00 2001 From: Undead Kernel Date: Sat, 8 Oct 2016 19:38:58 +0200 Subject: [PATCH] Fix wrong smart forward and backward bindings --- core/core-editor.el | 2 +- private/my-bindings.el | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/core-editor.el b/core/core-editor.el index ee6f9e4fa..e8f865ff6 100644 --- a/core/core-editor.el +++ b/core/core-editor.el @@ -253,7 +253,7 @@ :config (push '("true" "false") rotate-text-words)) (use-package smart-forward - :commands (smart-up smart-down smart-left smart-right)) + :commands (smart-up smart-down smart-backward smart-forward)) (use-package smartparens :config diff --git a/private/my-bindings.el b/private/my-bindings.el index 0d1f43da2..032addda0 100644 --- a/private/my-bindings.el +++ b/private/my-bindings.el @@ -206,8 +206,8 @@ :n "gr" 'doom:eval-region :n "gR" 'doom:eval-buffer :v "gR" 'doom:eval-region-and-replace - :m "g]" 'smart-right - :m "g[" 'smart-left + :m "g]" 'smart-forward + :m "g[" 'smart-backward :v "@" 'doom/evil-macro-on-all-lines :n "g@" 'doom/evil-macro-on-all-lines ;; Repeat in visual mode