From fdb5495db22be69958da494e6d9bf9ca4fe17551 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Fri, 29 Dec 2017 10:54:00 -0800 Subject: Move Org mode config to init.org --- emacs/.emacs.d/init/oni-org-init.org | 65 ------------------------------------ 1 file changed, 65 deletions(-) delete mode 100644 emacs/.emacs.d/init/oni-org-init.org (limited to 'emacs/.emacs.d/init') diff --git a/emacs/.emacs.d/init/oni-org-init.org b/emacs/.emacs.d/init/oni-org-init.org deleted file mode 100644 index c72601f..0000000 --- a/emacs/.emacs.d/init/oni-org-init.org +++ /dev/null @@ -1,65 +0,0 @@ -#+TITLE: Org mode configuration -#+STARTUP: content - -#+BEGIN_SRC emacs-lisp - (require 'org) - (require 'org-capture) -#+END_SRC - -Tell org-mode to fontify code blocks in their specified languages. - -#+BEGIN_SRC emacs-lisp - (setq org-src-fontify-natively t) -#+END_SRC - -Pressing RET on a link should really follow that link. - -#+BEGIN_SRC emacs-lisp - (setq org-return-follows-link t) -#+END_SRC - -Enable automatic text filling for org-mode. - -#+BEGIN_SRC emacs-lisp - (add-hook 'org-mode-hook 'auto-fill-mode) -#+END_SRC - -* Bullets - - Show pretty bullets instead of the default asterisk characters. - -** Load the contrib module - - Org bullets isn't loaded when Org mode is by default, so I should - do that here. - - #+BEGIN_SRC emacs-lisp - (require 'org-bullets) - #+END_SRC - -** Enable bullets in Org mode - - Enable =org-bullets-mode= whenever =org-mode= starts. - - #+BEGIN_SRC emacs-lisp - (add-hook 'org-mode-hook 'org-bullets-mode) - #+END_SRC - -* Org protocol - - Load org-protocol to let external applications add information to - org. - - #+BEGIN_SRC emacs-lisp - (require 'org-protocol) - #+END_SRC - - This template is used by Conkeror to capture a bookmark into my - bookmarks file. - - #+BEGIN_SRC emacs-lisp - (add-to-list 'org-capture-templates - '("b" "Bookmark" entry (file "~/documents/org/bookmarks.org") - "* %c\n\n %i" - :empty-lines 1)) - #+END_SRC -- cgit v1.2.3-54-g00ecf