Browse Source

Add "ibuffer and org files" to org-hacks.org.

Bastien Guerry 8 years ago
parent
commit
4bd6591f71
1 changed files with 14 additions and 0 deletions
  1. 14 0
      org-hacks.org

+ 14 - 0
org-hacks.org

@@ -2567,6 +2567,20 @@ by Org (e.g. checking for time stamps and generating a time stamp) so
 that you don't reinvent the wheel, and impedance-matching between the
 various pieces.
 
+** ibuffer and org files
+
+Neil Smithline posted this snippet to let you browse org files with
+=ibuffer=:
+
+#+BEGIN_SRC emacs-lisp
+(require 'ibuffer)
+
+(defun org-ibuffer ()
+  "Open an `ibuffer' window showing only `org-mode' buffers."
+  (interactive)
+  (ibuffer nil "*Org Buffers*" '((used-mode . org-mode))))
+#+END_SRC
+
 * Hacking Org: Working with Org-mode and External Programs.
 ** Use Org-mode with Screen [Andrew Hyatt]
 #+index: Link!to screen session