Fix sml config

* Make it load after org, so org-directory is added correctly to
  `sml/replacer-regexp-list`
* Add Projects to `sml/replacer-regexp-list`
* Add Documents to `sml/replacer-regexp-list` in a way that agrees with
  XDG
This commit is contained in:
Gergely Polonkai 2016-11-09 08:38:17 +01:00
parent fdfac65961
commit bfbf069997
1 changed files with 9 additions and 0 deletions

View File

@ -235,7 +235,16 @@
(use-package smart-mode-line
:ensure t
:after
org
:config
(add-to-list 'sml/replacer-regexp-list
'("^~/Projects/" ":Proj:")
t)
(add-to-list 'sml/replacer-regexp-list
(list (concat "^" (regexp-quote user-documents-directory))
":Doc:")
t)
(sml/setup))
(use-package company