Commit graph

26 commits

Author SHA1 Message Date
Henrik Lissner
3fd1548da5
Set treemacs--last-error-persist-file later #1151
Because treemacs--last-error-persist-file is defined with defconst, its
default value will overwrite our custom one once the
treemacs-persistence package is loaded.
2019-02-03 18:54:13 -05:00
Ting Zhou
e00ea2c306 ui/treemacs: assgin treemacs--last-error-persist-file 2019-01-23 14:18:31 -08:00
Henrik Lissner
fbb0297eb1
ui/treemacs: remove leader key fix
These aren't necessary now that the leader keymap has high precedence.
2019-01-08 20:40:26 -05:00
Henrik Lissner
e7fc1d3290
Fix wrong-type-arg: stringp, nocache errors
Fix old usage of doom-project-name and doom-project-root.
2018-09-28 23:49:18 -04:00
Henrik Lissner
53fe7a1f04 Refactor Project API to reflect changes upstream
projectile-project-root no longer returns `default-directory` if not in
a project (it returns nil). As such, doom-project-* functions (and their
uses) have been refactored.

+ doom-project-p & doom-project-root are aliases for
  projectile-project-p & projectile-project-root.
+ doom-project-{p,root,name,expand} now has a DIR argument (for
  consistency, since projectile-project-name and
  projectile-project-expand do not).
+ The nocache parameter is no longer necessary, as projectile's caching
  behavior is now more sane.
+ Removed some projectile advice/hacks that are no longer necessary.
+ Updated unit tests
2018-09-28 21:13:27 -04:00
Henrik Lissner
d5f8ecdfce
ui/treemacs: fix leader key in treemacs
This is an ugly hack and I should be ashamed.

Shame.

Shame.

Shame.

But alas, it shall do until general.el is in.

Fixes #860
2018-09-27 18:16:21 -04:00
Henrik Lissner
60c03a78d9
Fix void-function treemacs-current-visibility error
Tried to use a function before it was defined.
2018-08-30 13:11:18 +02:00
Henrik Lissner
cab0ee33d1
ui/treemacs: fix SPC o P (treemacs-find-file)
Would create a blank treemacs window when invoked before a treemacs
window was first initialized.
2018-08-29 02:16:06 +02:00
Henrik Lissner
e866fc46aa
ui/treemacs: make hl-line stand out more #846
By remapping it to the region face. Perhaps another face would be a
better fit?
2018-08-28 13:30:51 +02:00
Henrik Lissner
d0295a26d4
ui/treemacs: show only one project #846
If you use +treemacs/toggle.
2018-08-28 13:28:01 +02:00
Henrik Lissner
519330fcb1
Fix wrong-type-argument: treemacs-workspace error
Caused by changes upstream.
2018-08-10 18:52:20 +02:00
Henrik Lissner
4ab1bbbdba
Fix 'simple mode for +treemacs-use-git-mode
Due to pattern mismatch, 'simple mode was never activated.
2018-08-06 22:41:43 +02:00
Henrik Lissner
d01926a7c3
Fix void-function treemacs--is-visible? error 2018-08-06 11:18:26 +02:00
Henrik Lissner
c4ec1413dc
ui/treemacs: update function name
Due to change upstream
2018-08-04 12:18:54 +02:00
Henrik Lissner
4db89a2fb4
Remove treemacs popup hack
Now that it is supported upstream.

Relevant to #766
2018-08-03 19:15:46 +02:00
Henrik Lissner
8756837036
ui/treemacs: disable treemacs-follow-mode
Can be disruptive if you've got many windows with buffers across
different projects. Also, SPC o P is available to "jump to current file"
in the treemacs window.
2018-07-19 03:38:52 +02:00
Henrik Lissner
e4778f9923
Disable treemacs-follow-mode by default
This has proven intrusive, especially when you have files from different
projects open and you switch between them rapidly. Enabling
treemacs-follow-mode is left up to the user. Otherwise, the SPC o P
keybind and treemacs-find-file command can this manually and on-demand.

Also remove hide-mode-line-mode from treemacs because it's redundant
with the doom-themes treemacs icon theme.
2018-07-10 23:08:05 +02:00
Henrik Lissner
35b76ee49b
Enable minimalistic icon theme for treemacs
Still experimental.
2018-07-10 23:05:01 +02:00
Henrik Lissner
4213899b01
Refactor out -pcase in +treemacs/toggle 2018-07-01 01:16:37 +02:00
Henrik Lissner
2023aac314
Add +treemacs/toggle command 2018-06-15 03:42:01 +02:00
Henrik Lissner
b2b6ff67f2
Prevent treemacs from creating ~/.emacs.d/.cache
Alexander-Miller/treemacs#212 introduced treemacs-persist-file, which we
now use instead of tools/treemacs' old treemacs-persistence hack (which
didn't work).

Relevant to #669
2018-06-14 14:03:10 +02:00
Henrik Lissner
c8783f3291
ESC -> close treemacs for evil users 2018-06-11 00:11:20 +02:00
Henrik Lissner
8c6e403215
Hide mode-line in treemacs 2018-06-11 00:11:04 +02:00
Henrik Lissner
cf6b4f891e
Add +everywhere flag to treemacs-evil 2018-06-10 23:17:12 +02:00
Henrik Lissner
cb0ab2fcda
Refactor ui/treemacs 2018-06-10 23:16:50 +02:00
Aria Edmonds
7175c7dffb
Add initial treemacs module 2018-06-09 12:16:29 +10:00