fixed #24 - added some basic org-mode config
This commit is contained in:
parent
54bf2a3753
commit
5c716ea493
2 changed files with 48 additions and 0 deletions
1
init.el
1
init.el
|
@ -81,6 +81,7 @@ by Prelude.")
|
||||||
(require 'prelude-js)
|
(require 'prelude-js)
|
||||||
(require 'prelude-latex)
|
(require 'prelude-latex)
|
||||||
(require 'prelude-markdown)
|
(require 'prelude-markdown)
|
||||||
|
(require 'prelude-org)
|
||||||
(require 'prelude-perl)
|
(require 'prelude-perl)
|
||||||
(require 'prelude-python)
|
(require 'prelude-python)
|
||||||
(require 'prelude-ruby)
|
(require 'prelude-ruby)
|
||||||
|
|
47
modules/prelude-org.el
Normal file
47
modules/prelude-org.el
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
;;; prelude-org.el --- Emacs Prelude: org-mode configuration.
|
||||||
|
;;
|
||||||
|
;; Copyright (c) 2011 Bozhidar Batsov
|
||||||
|
;;
|
||||||
|
;; Author: Bozhidar Batsov <bozhidar.batsov@gmail.com>
|
||||||
|
;; URL: http://www.emacswiki.org/cgi-bin/wiki/Prelude
|
||||||
|
;; Version: 1.0.0
|
||||||
|
;; Keywords: convenience
|
||||||
|
|
||||||
|
;; This file is not part of GNU Emacs.
|
||||||
|
|
||||||
|
;;; Commentary:
|
||||||
|
|
||||||
|
;; Some basic configuration for org-mode.
|
||||||
|
|
||||||
|
;;; License:
|
||||||
|
|
||||||
|
;; This program is free software; you can redistribute it and/or
|
||||||
|
;; modify it under the terms of the GNU General Public License
|
||||||
|
;; as published by the Free Software Foundation; either version 3
|
||||||
|
;; of the License, or (at your option) any later version.
|
||||||
|
;;
|
||||||
|
;; This program is distributed in the hope that it will be useful,
|
||||||
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
;; GNU General Public License for more details.
|
||||||
|
;;
|
||||||
|
;; You should have received a copy of the GNU General Public License
|
||||||
|
;; along with GNU Emacs; see the file COPYING. If not, write to the
|
||||||
|
;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
;; Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
|
;;; Code:
|
||||||
|
|
||||||
|
(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)
|
||||||
|
|
||||||
|
(defun prelude-org-mode-hook ()
|
||||||
|
(electric-indent-mode -1))
|
||||||
|
|
||||||
|
(add-hook 'org-mode-hook 'prelude-org-mode-hook)
|
||||||
|
|
||||||
|
(provide 'prelude-org)
|
||||||
|
|
||||||
|
;;; prelude-org.el ends here
|
Loading…
Reference in a new issue