Replace project-explorer with neotree

This commit is contained in:
Henrik Lissner 2014-07-23 23:13:52 -04:00
parent 8fcf8acffd
commit f07570bc9c
3 changed files with 13 additions and 5 deletions

3
.gitmodules vendored
View file

@ -1,3 +1,6 @@
[submodule "snippets"] [submodule "snippets"]
path = snippets path = snippets
url = https://github.com/hlissner/emacs-snippets url = https://github.com/hlissner/emacs-snippets
[submodule "elisp/emacs-neotree"]
path = elisp/emacs-neotree
url = https://github.com/jaypei/emacs-neotree

1
elisp/emacs-neotree Submodule

@ -0,0 +1 @@
Subproject commit 43c4e8694da9aa422c57175f3cc648d4b85aff58

View file

@ -6,7 +6,7 @@
ag ; the_silver_searcher support ag ; the_silver_searcher support
flx-ido ; enhances ido's flex matching flx-ido ; enhances ido's flex matching
ido-vertical-mode ; vertical listing for ido completion ido-vertical-mode ; vertical listing for ido completion
project-explorer ; sidebar for navigation project files ;; project-explorer ; sidebar for navigation project files
dired+ dired+
)) ))
@ -85,10 +85,14 @@
projectile-enable-caching t) projectile-enable-caching t)
;;#project-explorer ;;#project-explorer
(setq pe/width 24) ;; (setq pe/width 24)
(evil-set-initial-state 'project-explorer-mode 'emacs) ;; (evil-set-initial-state 'project-explorer-mode 'emacs)
(add-hook 'project-explorer-mode-hook ;; (add-hook 'project-explorer-mode-hook
(lambda() (no-linum))) ;; (lambda() (no-linum)))
;;#neotree
(add-to-list 'load-path "/some/path/neotree")
(require 'neotree)
;; ;;
(provide 'core-project) (provide 'core-project)