2 add "When in org-mode"
source | link

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)

HowWhen in org-mode, 't' only works for org-todo. How to assign 't' to only evil-find-char-to?

The solution by Bernardo Brik worked for Daniel Yang: https://gitter.im/syl20bnr/spacemacs/archives/2016/03/31 > Mar 31 2016 13:51
(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.

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)

How to assign 't' to only evil-find-char-to?

The solution by Bernardo Brik worked for Daniel Yang: https://gitter.im/syl20bnr/spacemacs/archives/2016/03/31 > Mar 31 2016 13:51
(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.

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?

The solution by Bernardo Brik worked for Daniel Yang: https://gitter.im/syl20bnr/spacemacs/archives/2016/03/31 > Mar 31 2016 13:51
(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.

1
source | link

Evil and org-mode keybinding 't' conflict

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)

How to assign 't' to only evil-find-char-to?

The solution by Bernardo Brik worked for Daniel Yang: https://gitter.im/syl20bnr/spacemacs/archives/2016/03/31 > Mar 31 2016 13:51
(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.