Commit graph

42 commits

Author SHA1 Message Date
emacspace
901f35849a documentation fixes: Tue Oct 23 14:18:21 UTC 2018 2018-10-23 23:38:16 +03:00
Boris Buliga
4024b60757
do not use xor 2018-10-17 06:56:40 +03:00
Boris Buliga
53f5121a03
allow dynamic width lock setup for treemacs
Following #11384

Right now treemacs-lock-width variable affects width lock only during treemacs
initialisation. Any later modifications have no effect on treemacs behaviour.
This commit changes it by moving evaluation of treemacs-lock-width to the
treemacs-mode-hook.
2018-10-16 20:25:07 +03:00
deb0ch
2e0f495c47
treemacs layer: make treemacs resizable by default 2018-10-11 19:57:12 +03:00
JAremko
cd39f80c24 Reformat documentation 2018-10-11 00:13:43 +03:00
syl20bnr
9865e77313 Fix header typo 2018-09-11 15:08:53 -04:00
Kalle Lindqvist
ba93316939 treemacs: create and bind toggle project function 2018-09-11 00:44:48 +03:00
duianto
d40d45c256 [treemacs] give names to which-key +prefix entries
problem:
Which-key subgroups get the default name `+prefix`. The subgroup has to be
opened to find out which keys it contains.

solution:
Add more descriptive names:
```
c      treemacs-create
o      treemacs-visit-node
oa     treemacs-visit-node-ace
t      treemacs-toggles
y      treemacs-copy
C-p    treemacs-projects
C-p c  treemacs-projects-collapse
```
2018-09-10 22:06:26 +01:00
Kalle Lindqvist
3784b752b6 treemacs: remove unneeded pound symbols 2018-09-03 22:54:20 +03:00
Codruț Constantin Gușoi
83f2fd4d22 Window splitting with custom delete
Implements some custom window layout splitting functions.
2018-05-31 01:16:57 +03:00
syl20bnr
738b1be5c3 treemacs: set variables in :init to be overridable in dotfile 2018-05-28 11:23:57 -04:00
Alexander Miller
3ff7f4adce filetree: Update treemacs layer. 2018-05-27 19:41:47 +03:00
Alexander Miller
aeac113452 filetree: let neotree use "open" instead of "xdg-open" on macos.
Fixes #10744.
2018-05-27 14:30:28 +02:00
Lupco Kotev
214e5a847d Add argument to specify window when opening from neotree 2018-05-19 00:19:06 -04:00
syl20bnr
635a32c468 treemacs: sort key bindings 2018-05-18 23:41:03 -04:00
syl20bnr
5a914780e8 treemacs: SPC f T --> SPC f t and SPC f C-t --> SPC f T
treemacs-toggle does not exist anymore. We can shift the key bindings to make
them modifier free.
2018-05-18 23:38:15 -04:00
Lupco Kotev
ef795f16af Fix Neotree RET bind 2018-05-18 01:09:10 +03:00
syl20bnr
79824060c1 Fix l keybinding in neotree to open in MRU window
Fixes #9794
2018-05-11 01:28:58 -04:00
syl20bnr
ebe4c60264 Revert "Defer packages by default using use-package-always-defer"
This reverts commit 29c78ce841 and all other fixes
that have been made afterwards.

The motivation is that use-package is seen by many as a replacement for
`require`. Is use-package always defer the loading of packages then is breaks
this use case, this does not respect POLA so even if it was making Spacemacs
loading faster (up to 3s faster on some startup on my machine) we just cannot
use it, it would be irresponsible. Spacemacs should be easy to use, loading
performance will come with time but it is not a priority.
2018-03-03 23:40:10 -05:00
kyren
02a5a44ab7 Add :demand t to fix loading treemacs-evil package
It appears that 29c78ce changed `:defer t` to be the default for
use-package, and that previously the `treemacs` and
`treemacs-projectile` packages in treemacs/packages.el specified `:defer
t`, but *not* `treemacs-evil`.  Restoring `:demand t` (previously the
default) to `treemacs-evil` appears to fix #10422.
2018-03-03 14:38:43 +02:00
syl20bnr
29c78ce841 Defer packages by default using use-package-always-defer
Warning now `:defer t` is implied, to force a package to load `:demand t` is
now necessary.
2018-02-27 23:32:52 -05:00
bmag
f3b6a22c05 Keys consistency for winum and file trees
Reinstate `SPC f T` binding, and make `SPC 0` and `M-0` consistent across
Neotree and Treemacs.
2018-02-02 21:15:21 +02:00
Daniel Le
2c78318750 neo-vc-integration accepts a list, not a symbol
See bc98dfb44c/neotree.el (L300-L304).
2018-01-21 09:29:16 -05:00
Dela Anthonio
026964d3c5 filetree: Press ~SPC 0~ to open the neotree and treemacs windows
Resolve #9313

Window 0 is reserved for file trees. Let's open the file tree window using
~SPC 0~ instead of ~SPC f T~ since it's less key strokes.
2018-01-17 23:03:33 -05:00
Alexander Miller
4fa20328a6 treemacs: bind M-0 to treemacs window selection. 2018-01-14 23:17:17 -05:00
Alexander Miller
76b390c15e treemacs: only activate extended git-mode when python3 is installed. 2018-01-10 22:06:54 -05:00
Alexander Miller
a23ab04926 treemacs: adapt config to new treemacs-git-mode feature. 2018-01-09 23:36:35 -05:00
syl20bnr
326965d4ce Happy New Year 2018! 2018-01-04 02:00:25 -05:00
Alexander Miller
6c77ed57a5 core: make it possible to define an evil state face without an evil cursor.
treemacs: do not define an evil cursor for treemacs.
2017-12-01 19:27:48 +02:00
syl20bnr
7717436c7e Fix neotree and treemacs window number allocation
Fixes #9798
2017-10-30 23:37:40 -04:00
JAremko
7ef6e1ab51
format docs 2017-10-18 04:25:55 +03:00
duianto
9e40acf4ad Update neotree layer, add screenshot
Add a screenshot to fix the broken link: img/neotree.png
2017-10-17 09:56:06 +03:00
Alexander Miller
d820a3ed29 treemacs: Take into account that python may not be installed. 2017-10-15 11:08:01 -04:00
Alexander Miller
559367b38f treemacs: Fix typo and keybinds table and improve description in README. 2017-10-15 11:08:01 -04:00
Alexander Miller
f71fb1b245 treemacs: add spacemacs-evil-cursors entry for treemacs. 2017-10-15 17:15:27 +03:00
syl20bnr
d87caa1969 neotree: fix list of feature
Also respect 80 chars max per line in treemacs feature list.
2017-10-08 18:18:23 -04:00
syl20bnr
902ceae0d3 treemacs: update README.org to be more conventional
Layer READMEs don't list the configuration of the package so this commit removes
the mentions of treemacs package readme.

Reformat the documentation of layer variables

Reformat key bindings in table

Respect 80 chars max per line.
2017-10-08 12:20:03 -04:00
syl20bnr
cf79d2207b treemacs: respect 80 chars per line 2017-10-08 12:05:43 -04:00
syl20bnr
4e6574b7f2 treemacs: add treemacs--window-number-ten to autoloads
If treemacs is not used before opening an helm buffer, it breaks helm and
emacs.
2017-10-08 12:03:21 -04:00
syl20bnr
e3afa35fbf treemacs: move to +filetree category and add can-shadow relation
Add shadow relation between neotree and treemacs
sort packages in treemacs packages.el file
2017-10-08 12:01:48 -04:00
syl20bnr
41e91a9dcf core: move all dotspacemacs-helm-* variables to layer variables
Add support for backward compatibility via a macro instrad of defvaralias as the
latter was not sufficient to support all the use-cases.
2017-10-08 10:29:34 -04:00
syl20bnr
67aaf51631 Move neotree to its own layer in new +filtree folder
Add neotree layer to default spacemacs distribution.
2017-10-08 07:51:43 -04:00