I just updated emacs org-mode and when visiting org files, this binding takes effect:
C-TAB (org-force-cycle-archived) Cycle a tree even if it is tagged with ARCHIVE.
What's the best way to disable this binding?
I use C-Tab for moving between windows.
I tried creating a hook but this is not doing the trick. The local key binding still takes precedence.
(defun my-org-mode-hook ()
(define-key global-map '[(control tab)] 'other-window)
(define-key global-map '[(shift control tab)] 'my-other-window-back)
(global-set-key '[(control tab)] 'other-window)
(global-set-key '[(shift control tab)] 'my-other-window-back)
(local-set-key '[(control tab)] 'other-window)
(local-set-key '[(shift control tab)] 'my-other-window-back)
)
(add-hook 'org-mode-hook 'my-org-mode-hook)