Browse Source

Bind <home> and <end> to the org-specific commands

Carsten Dominik 15 years ago
parent
commit
668e28f4d0
2 changed files with 3 additions and 0 deletions
  1. 1 0
      lisp/ChangeLog
  2. 2 0
      lisp/org.el

+ 1 - 0
lisp/ChangeLog

@@ -3,6 +3,7 @@
 	* org.el (org-special-ctrl-a/e): Improve documentation and
 	customize type.
 	(org-end-of-line): Don't jump to after the ellipsis.
+	(org-mode-map): Bind <home> and <end> as well.
 
 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
 

+ 2 - 0
lisp/org.el

@@ -16631,6 +16631,8 @@ beyond the end of the headline."
 
 (define-key org-mode-map "\C-a" 'org-beginning-of-line)
 (define-key org-mode-map "\C-e" 'org-end-of-line)
+(define-key org-mode-map [home] 'org-beginning-of-line)
+(define-key org-mode-map [end]  'org-end-of-line)
 
 (defun org-backward-sentence (&optional arg)
   "Go to beginning of sentence, or beginning of table field.