Extract neotree from feature/evil => tools/neotree
This commit is contained in:
parent
ee1fc701b9
commit
1fd482fa51
8 changed files with 58 additions and 47 deletions
|
@ -409,40 +409,3 @@ the new algorithm is confusing, like in python or ruby."
|
|||
(global-evil-visualstar-mode 1))
|
||||
|
||||
|
||||
;; A side-panel for browsing my project files. Inspired by vim's NERDTree. Sure,
|
||||
;; there's dired and projectile, but sometimes I'd like a bird's eye view of a
|
||||
;; project.
|
||||
(def-package! neotree
|
||||
:commands (neotree-show
|
||||
neotree-hide
|
||||
neotree-toggle
|
||||
neotree-dir
|
||||
neotree-find
|
||||
neo-global--with-buffer
|
||||
neo-global--window-exists-p)
|
||||
:config
|
||||
(setq neo-create-file-auto-open nil
|
||||
neo-auto-indent-point nil
|
||||
neo-autorefresh nil
|
||||
neo-mode-line-type 'none
|
||||
neo-window-width 25
|
||||
neo-show-updir-line nil
|
||||
neo-theme 'nerd ; fallback
|
||||
neo-banner-message nil
|
||||
neo-confirm-create-file #'off-p
|
||||
neo-confirm-create-directory #'off-p
|
||||
neo-show-hidden-files nil
|
||||
neo-keymap-style 'concise
|
||||
neo-hidden-regexp-list
|
||||
'(;; vcs folders
|
||||
"^\\.\\(git\\|hg\\|svn\\)$"
|
||||
;; compiled files
|
||||
"\\.\\(pyc\\|o\\|elc\\|lock\\|css.map\\)$"
|
||||
;; generated files, caches or local pkgs
|
||||
"^\\(node_modules\\|vendor\\|.\\(project\\|cask\\|yardoc\\|sass-cache\\)\\)$"
|
||||
;; org-mode folders
|
||||
"^\\.\\(sync\\|export\\|attach\\)$"
|
||||
"~$"
|
||||
"^#.*#$"))
|
||||
|
||||
(push neo-buffer-name winner-boring-buffers))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue