In Spacemacs with evil and org-mode, the letter 't' is assigned to two functions:
org-todo
(don't need this because I use shift-arrow to cycle through todo states)evil-find-char-to
(I need this)
When in org-mode, 't' only works for org-todo
.
How to assign 't' to only evil-find-char-to
?
This solution by Bernardo Brik worked for Daniel Yang:
(add-hook 'org-mode-hook ((define-key evil-normal-state-map (kbd "t") 'evil-find-char-to)))
But when I try it:
add-hook: Invalid function: (define-key evil-normal-state-map (kbd "t") (quote evil-find-char-to))
I am using Emacs 25.2.1 with Evil Spacemacs and org-mode on Linux.