Here are examples of some things I disable in org-mode -- I used require
, but you could use instead an eval-after-load
-- you don't need to do it each time an org-mode buffer loads (e.g., a mode-hook is overkill):
(require 'org) (define-key org-mode-map (kbd "<M-S-up>") nil) (define-key org-mode-map (kbd "<M-S-down>") nil) (define-key org-mode-map (kbd "<M-up>") nil) (define-key org-mode-map (kbd "<M-down>") nil) (define-key org-mode-map (kbd "<M-S-left>") nil) (define-key org-mode-map (kbd "<M-S-right>") nil) (define-key org-mode-map (kbd "<M-left>") nil) (define-key org-mode-map (kbd "<S-left>") nil) (define-key org-mode-map (kbd "<S-right>") nil) (define-key org-mode-map (kbd "<S-up>") nil) (define-key org-mode-map (kbd "<S-down>") nil) (define-key org-mode-map (kbd "<M-right>") nil) (define-key org-mode-map (kbd "C-<tab>") nil) (define-key org-mode-map (kbd "C-S-<tab>") nil) (define-key org-mode-map (kbd "<C-up>") nil) (define-key org-mode-map (kbd "<C-down>") nil)