Commit Graph

53 Commits

Author SHA1 Message Date
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
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