Add direx and disable project-explorer

This commit is contained in:
2016-12-13 02:39:46 +00:00
parent d5bc369d62
commit 03e7f9cc6f
2 changed files with 27 additions and 2 deletions

24
modules/siren-direx.el Normal file
View File

@@ -0,0 +1,24 @@
;;; siren-direx.el --- jimeh's Emacs Siren: direx configuration.
;;; Commentary:
;; Basic configuration for direx.
;;; Code:
(siren-require-packages '(direx))
(require 'direx)
(defun siren-direx-mode-defaults ()
(setq direx:closed-icon " + ")
(setq direx:open-icon " - "))
(setq siren-direx-mode-hook 'siren-direx-mode-defaults)
(add-hook 'direx-mode-hook (lambda ()
(run-hooks 'siren-direx-mode-hook)))
(global-set-key (kbd "C-x j") 'direx-project:jump-to-project-root)
(provide 'siren-direx)
;;; siren-direx.el ends here