help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

org-mode keybinding


From: drain
Subject: org-mode keybinding
Date: Sat, 18 Aug 2012 00:55:38 -0700 (PDT)

Tried to remap org-beginning-of-line to C-q, neither of these two methods
worked:

(1)

(add-hook 'org-mode-hook 
          (lambda ()
            (local-set-key "\C-q" 'org-beginning-of-line)))

(2) 

(add-hook 'org-mode-hook
          '(lambda ()
             (define-key org-mode-map "\C-q" 'org-beginning-of-line)))





--
View this message in context: 
http://emacs.1067599.n5.nabble.com/org-mode-keybinding-tp261738.html
Sent from the Emacs - Help mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]