Commit graph

63 commits

Author SHA1 Message Date
emacspace
c91779aff4 documentation formatting: Fri Nov 8 16:03:53 UTC 2019 2019-11-08 16:08:22 +00:00
Hong Xu
d35e7b85bf Allow users to enable treemacs-tag-follow-mode as initial setup. 2019-10-17 09:34:12 +02:00
Miciah Masters
552fd5953c Update references to macOS
Apple renamed "Mac OS X" to "OS X" in 2012 and then to "macOS" in 2016.
Update references to use the current name.
2019-10-13 12:04:40 +02:00
Hong Xu
50bb8a6dc1 Add document for option treemacs-use-git-mode
This option has been implemented but was not documented.
2019-10-05 18:51:36 +02:00
Alexander Miller
1fae31b56d Turn off treemacs' minor modes when they are configured to be disabled.
The various minor modes are enabled by default, so they must be turned off
explicitly.
2019-09-19 07:39:33 +02:00
smile13241324
1de174003e [treemacs] Load treemacs-magit only when magit package has been loaded 2019-09-16 21:16:38 +02:00
Evan Klitzke
1c38de53e7 Add new var treemacs-enable-magit to enable treemacs-magit 2019-09-16 20:49:48 +02:00
Trapez Breen
d63ff5c0f2 Fix treemacs-project-toggle
Avoid error in spacemacs startup buffer
2019-08-11 19:39:47 +02:00
duianto
279e70106f [treemacs] Load projectile key binding with treemacs
The `C-c C-p p` (`treemacs-projectile`) key binding wasn't loading automatically
with Treemacs, until the command had been called manually.
2019-06-21 19:08:01 +02:00
duianto
5389bf976d [treemacs][doc] Update projects key binding prefix
The upstream Treemacs projects key binding prefix has changed.
From: C-p
To:   C-c C-p
2019-06-19 14:47:37 +02:00
emacspace
c7c348a676 documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00
duianto
8a4bf9c655 filetrees: remap winum-select-window-0-or-10
Problem:
`C-x w 0` calls `winum-select-window-0-or-10` which shows:
winum-select-window-by-number: No window numbered 10

Solution (Thanks Miciah):
Remap `winum-select-window-0-or-10` to the current filetree command:
`neotree-show` or `treemacs-select-window`

Then all three key bindings:
`C-x w 0`, `SPC 0` and `M-0` will call the same filetree command.

Additionally:
Renamed the remapped which-key name to the filetree command.

Wrapped lines to keep them under 80 chars.
2019-05-24 20:55:11 +02:00
李旭
3ddd99d92c treemacs: Add missing key binding description
and fix some typo
2019-05-24 14:05:01 +02:00
Anton-Latukha
f6660f82d4
Switch to the new layers generator 2019-05-15 21:08:21 +03:00
JAremko
5d02b1c4bb Add more tags 2019-05-03 03:44:19 +03:00
Ivan Fedorov
67e9690723 treemacs: correct typos 2019-04-23 23:40:13 +02:00
Alexander Miller
ea96c525e9 Make sure treemacs' buffers are ignored by winum. 2019-01-20 15:44:43 +02:00
Alexander Miller
e7d13da61d Make treemacs the default file browser. 2019-01-20 14:31:36 +02:00
Alexander Miller
3cf322943a [treemacs] Use deferred git-mode by default. 2019-01-14 23:21:41 +00:00
emacspace
45276bd96f documentation formatting: Wed Dec 5 03:03:03 UTC 2018 2018-12-04 22:06:14 -05:00
duianto
ee811f7b13 Unify packages list parentheses style
problem:
some layer packages lists have the open and closing parentheses on the same line
as the first and last listed package, but most seem to have them on a separate
lines.

solution:
put the open and close parentheses on separate lines, except for lists with only
a single package, they are written on the same line as the variable name and
parentheses.

fix the lists indentation
2018-11-21 21:35:38 +00:00
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