File tree view/manipulation package
The package provides a set of interactive tools to help quickly find files, information in files, or information associated with files–and using a tree to help visualize the directory structure of a set of files.
- org-tree-slide for going through slides
- emacs-sandbox
Original motivation: hard to use recentf for large number entries.
(setq recentf-max-saved-items 500)
(defun filetree-configure-default-filetypes ()
"Define default `filetree-filetype-list'.
This defines filetype faces, filetype regex, and filter shortcuts.
This function is given as an example. The user can generate their own
custom function with calls to `filetree-add-filetype'"
(interactive)
(setq filetree-filetype-list nil)
(filetree-add-filetype "No Filter" 0 "" ())
(filetree-add-filetype "Python" ?p "\.py$" '(:foreground "steel blue"))
(filetree-add-filetype "Org-mode" ?o "\.org$" '(:foreground "DarkOliveGreen4"))
(filetree-add-filetype "elisp" ?e "\\(?:\\.e\\(?:l\\|macs\\)\\)" '(:foreground "purple"))
(filetree-add-filetype "C" ?c "\\(?:\\.[ch]$\\|\\.cpp\\)" '(:foreground "navyblue"))
(filetree-add-filetype "PDF" ?d "\.pdf$" '(:foreground "maroon"))
(filetree-add-filetype "Matlab" ?m "\.m$" '(:foreground "orange"))
(filetree-add-filetype "Text" ?t "\.txt$" '(:foreground "gray50")))
- filetree-show-cur-buffers
- filetree-show-cur-dir
- filetree-show-cur-dir-recursively
- Key binding:
(global-set-key (kbd "C-c <return>") (lambda ()
"Toggle filetree-info-buffer and switch to it if active"
(interactive)
(filetree-toggle-info-buffer t)))
- By default stored in a global notes file, and narrowed to relevant section.
- Can also use a project local notes file (just put appropriately named file in project root directory).