|
| From: | Mikael Fornius |
| Subject: | Re: [Orgmode] Emacs startup file |
| Date: | Tue, 13 Oct 2009 13:10:15 +0200 |
| User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
saikari keitele <address@hidden> writes:
> Could you please tell me the exact lines I have to add to the emacs
> startup file(.emacs.el) to enable orgmode?
;; The following lines are always needed. Choose your own keys.
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)
(global-font-lock-mode 1) ; for all buffers
(add-hook 'org-mode-hook 'turn-on-font-lock) ; Org buffers only
See Emacs Info documentation browser:
(info "(org) Activation")
for more information.
--
Mikael Fornius
| [Prev in Thread] | Current Thread | [Next in Thread] |