Browse Source

updated config for changes in treemacs

master
Marc Pohling 6 years ago
parent
commit
cf4a83f32c
1 changed files with 17 additions and 10 deletions
  1. 27
      config.org

27
config.org

@ -567,8 +567,7 @@
:ensure t :ensure t
:defer t :defer t
:config :config
(setq treemacs-change-root-without-asking nil
treemacs-collapse-dirs (if (executable-find "python") 3 0)
(setq treemacs-collapse-dirs (if (executable-find "python") 3 0)
treemacs-file-event-delay 5000 treemacs-file-event-delay 5000
treemacs-follow-after-init t treemacs-follow-after-init t
treemacs-follow-recenter-distance 0.1 treemacs-follow-recenter-distance 0.1
@ -576,8 +575,8 @@
treemacs-indentation 2 treemacs-indentation 2
treemacs-indentation-string " " treemacs-indentation-string " "
treemacs-is-never-other-window nil treemacs-is-never-other-window nil
treemacs-never-persist nil
treemacs-no-png-images nil treemacs-no-png-images nil
treemacs-project-follow-cleanup nil
treemacs-recenter-after-file-follow nil treemacs-recenter-after-file-follow nil
treemacs-recenter-after-tag-follow nil treemacs-recenter-after-tag-follow nil
treemacs-show-hidden-files t treemacs-show-hidden-files t
@ -597,19 +596,27 @@
(treemacs-git-mode 'simple))) (treemacs-git-mode 'simple)))
:bind :bind
(:map global-map (:map global-map
([f8] . treemacs-toggle))
([f8] . treemacs))
) )
#+END_SRC #+END_SRC
Treemacs-Evil is necessary when using evil
#+BEGIN_SRC emacs-lisp
(use-package treemacs-evil
:after treemacs evil
:ensure t)
#+END_SRC
Treemacs-projectile is useful for uhh.. TODO explain! Treemacs-projectile is useful for uhh.. TODO explain!
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package treemacs-projectile
:ensure t
:defer t
:config
(setq treemacs-header-function #'treemacs-projectile-create-header)
)
(use-package treemacs-projectile
:ensure t
:after treemacs projectile
:defer t
:config
(setq treemacs-header-function #'treemacs-projectile-create-header)
)
#+END_SRC #+END_SRC
TODO TODO

Loading…
Cancel
Save