4 - put this path into your load-path
5 - insert "(require 'org-fstree)" into ~/.emacs
9 A link between a file and a headline is established
10 by simply adding a link to the file to the headline
14 ** Put your note here [[file:yourfile][And a link to one of your files here]] :SOMETAG:
15 ** A file you probably have [[file:~/.emacs]] :GNU:
18 * Generating a static tree
20 ** Render as plain text
21 Somewhere in your org file add the following line and press C-c C-c
23 #+BEGIN_FSTREE: ~/ :non-recursive t
25 Removing the ':non-recursive' option will show a complete static
26 representation of your home directory, which can take some time
32 :COLUMNS: %40ITEM %Link1 %Link2
35 Somewhere in your org file set the properties of some headline as done
36 above, add the following line, press C-c C-c while on it and switch to
37 column-view (C-c C-x C-c).
38 #+BEGIN_FSTREE: ~/ :non-recursive t :links-as-properties
40 To add the complete subtree recursively remove the :non-recursive option.
41 This will quickly become slow; you can stop generation with C-g.
46 - :non-recursive t , to suppress recursion into directories
47 - :exclude-regexp-name <list of regexp strings> , exclude file/directory names matching either
48 of the given regexp expressions
50 :exclude-regexp-name (".*\\.pdf$" ".*\\.zip$"), excludes files/directories ending with either ".pdf" or ".zip"
51 :exclude-regexp-name ("^\\.git$") , excludes files/directories named ".git"
52 - :exclude-regexp-fullpath <list of regexp strings>, same as :exclude-regexp-name but matches absolute path to file/directory
53 - :relative-links t , generates relative instead of absolute links
54 - :show-only-matches t , only files that are being linked to show up
55 - :links-as-properties t, sets the links as properties Link1, Link2,... for use in column view [Does not work with dynamic-update!]
58 * Generating a dynamic tree
60 :COLUMNS: %40ITEM %Link1 %Link2
63 In a dynamic tree initially only the representation of the given
64 directory's content is generated and the content of a subdirectory is
65 dynamically generated or deleted on visibility change.
66 This makes the complete filesystem browsable inside the org file.
68 Press C-c C-c on the following line. (BUG: Switching to column-view breaks dynamic update, but shows the links )
69 #+BEGIN_FSTREE: ~/ :dynamic-update t