I use evil-mode
and evil-collection
.
The TAB
key is bound/maped (?) to evil-jump-forward
. I do not know which of the evil-packages or parts did this. I do not use this function.
I need the TAB
key for org-mode
. How do I unmap/unbound a key when using use-package
?
;; === EVIL
(use-package evil
:init
(setq evil-want-integration t)
(setq evil-want-keybinding nil)
:config
(evil-mode 1)
;; Use visual line motions even outside of visual-line-mode buffers
(evil-global-set-key 'motion "j" 'evil-next-visual-line)
(evil-global-set-key 'motion "k" 'evil-previous-visual-line)
;; Set "normal" vi-mode in specific buffers
(evil-set-initial-state 'messages-buffer-mode 'normal)
(evil-set-initial-state 'dashboard-mode 'normal)
)
(use-package evil-collection
:after evil
:config
(evil-collection-init)
)
This question is not specific about evil
or org
. It could be any other key or package. This case is just an example where it could be usefull to unmap/unbound a keybinding. And the question is how to do that in the context of use-package
.
<tab>
andC-i
. See this link. To check for yourself, what doesC-h k C-i
output?