Merge pull request #14 from UndeadKernel/fix-smart-forward

Fix wrong smart forward and backward bindings
This commit is contained in:
Henrik Lissner 2016-10-08 22:01:18 +02:00 committed by GitHub
commit ba4cdb6ced
2 changed files with 3 additions and 3 deletions

View file

@ -253,7 +253,7 @@
:config (push '("true" "false") rotate-text-words)) :config (push '("true" "false") rotate-text-words))
(use-package smart-forward (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 (use-package smartparens
:config :config

View file

@ -206,8 +206,8 @@
:n "gr" 'doom:eval-region :n "gr" 'doom:eval-region
:n "gR" 'doom:eval-buffer :n "gR" 'doom:eval-buffer
:v "gR" 'doom:eval-region-and-replace :v "gR" 'doom:eval-region-and-replace
:m "g]" 'smart-right :m "g]" 'smart-forward
:m "g[" 'smart-left :m "g[" 'smart-backward
:v "@" 'doom/evil-macro-on-all-lines :v "@" 'doom/evil-macro-on-all-lines
:n "g@" 'doom/evil-macro-on-all-lines :n "g@" 'doom/evil-macro-on-all-lines
;; Repeat in visual mode ;; Repeat in visual mode