diff options
Diffstat (limited to 'emacs/.emacs.d/init')
-rw-r--r-- | emacs/.emacs.d/init/oni-org-init.org | 65 |
1 files changed, 0 insertions, 65 deletions
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 |