Commit Graph

94 Commits

Author SHA1 Message Date
Lin Sun b5e75bc65f layers/+filetree/treemacs: fix the document for key bindings 2022-10-19 20:34:56 +02:00
Arif Er 00f9ab19ac chore: update copyright headers to 2022
The script used to identify and update the change is added into the GitHub
workflows script directory. A workflow action can be created to trigger the
script to update the headers on the first of every new year. Possibly a task for
a consequent PR.
2022-06-03 17:32:20 +02:00
Maxi Wolff 97af6fa9f8
[neotree] Add zz, zt, zb bindings
To make this buffer behave more vim like.
See #15355
2022-03-31 16:55:29 +02:00
syl20bnr 97cd83e169 Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
syl20bnr d55a9e2e67 Update header for year 2021 2021-03-25 22:59:32 -04:00
Ray ddb0d02c51 Also run `treemacs-load-theme` on `dired-mode-hook` 2021-02-07 21:20:04 +01:00
duianto 61ff12cbfc [base] Show a winum required message
problem:
key bindings that use the winum package,
don't work in the spacemacs-base distribution.

for example in the buffer transient state: SPC b .
{number}, C-{number} or M-{number}

shows messages like these:
Wrong type argument: commandp, winum-select-window-1
Symbol’s function definition is void: winum-get-window-by-number

cause:
the winum package is loaded in the spacemacs-navigation layer,
but the layer isn't used in the spacemacs-base distribution.

solution:
show the message:
This command requires the winum package,
winum is part of the spacemacs-navigation layer.
2021-01-09 08:40:32 +01:00
duianto 5281c3a17b [treemacs] Check for git and python 3 upstream
problem:
The Treemacs layer is unable to find python 3 in Windows.

cause:
The Treemacs layer looks for "python3", but the executable is called
"python.exe" in Windows.

solution:
Let Treemacs check for python 3 upstream, it has a better method for finding the
python 3 executable in Windows.
2020-12-30 20:41:44 +01:00
Robert O'Connor 82ba73a1c0
update copyright to 2020 2020-09-23 21:25:01 +02:00
emacspace bc33fc46fc documentation formatting: Fri Aug 7 20:15:11 UTC 2020 2020-08-07 22:29:21 +02:00
Jonas Strømsodd 47412d5bf7 Add support for enabling `all-the-icons` theme in treemacs layer 2020-08-07 13:52:31 +02:00
Maximilian Wolff e41fe49a0c
[treemacs] Fix wrong instructions to set ace mode as default action 2020-07-18 22:45:54 +02:00
Maximilian Wolff 1de729e7bd
[doc] Add missing treemacs bindings 2020-06-07 19:24:40 +02:00
张海东 8d6843dd59 [doc] Remove duplicate keyboard shortcuts 2020-06-07 19:20:11 +02:00
Richard Kim 0d9cea8e2f
fixed typo by changing dired-load to dired-mode 2020-05-24 23:46:53 +02:00
duianto c6f47bd870 [neotree][treemacs] Fix/unify first header line
The Neotree layers.el header said: Treemacs
Capitalized Treemacs
Appended: for Spacemacs
  (most of the layer files first line seems to end with that)
2020-05-21 11:59:06 +02:00
duianto 230ea2279f [treemacs] load treemacs-icons-dired-mode earlier
Opening a dired buffer from the Treemacs buffer,
right after starting Spacemacs, shows the error message:
>treemacs-icons-dired--display: Wrong type argument: char-or-string-p, nil

Loading `treemacs-icons-dired-mode` from the `dired-load-hook`,
instead of from the `dired-mode-hook`, seems to fix it.

The `dired-load-hook` docstring says:
>Run after loading Dired.

The `dired-mode-hook` docstring says:
>Run at the very end of ‘dired-mode’.
2020-05-06 20:13:59 +02:00
Ivan Yonchovski d5f3420a55 [Treemacs] Use treemacs-icons-dired when treemacs layer is present
- use treemacs-use-icons-dired to enable/disable it
2020-04-16 21:35:59 +02:00
duianto 6ef2543091 [treemacs doc] Fix layer variable 2020-04-14 11:35:57 +02:00
Alexander Miller 3a1bfc2a91 [treemacs] Complete treemacs + persp-mode integration.
- Introduce configuration option to determine scope.
 - Activate treemacs-persp synchronization if opted in.
 - Document changes.
2020-04-11 16:05:34 +02:00
syl20bnr e5e27d7b8d Rename spacebind to spacemacs|spacebind 2020-03-05 21:04:51 -05:00
syl20bnr b2a12479d1 Use spacebind for Files key bindings 2020-03-05 21:04:51 -05:00
emacspace 546f626be9
documentation formatting: Sat Feb 22 10:39:46 UTC 2020 2020-02-22 11:44:35 +01:00
Maximilian Wolff 21a6a32891
Revise additions to treemacs documentation
Move changelog entry to general documentation change block
Reformat the documentation to increase clarity
2020-02-20 22:06:15 +01:00
Anton Chevychalov 0728c5d02a
Add docs about ace mode in treemacs
There is a popular question about openning file in exact window.
There is an ace mode for that, but it is not so clear how to use
it for new users.

That commmit add information how to use ace mode and how tweak it
based on information from https://github.com/Alexander-Miller/treemacs/issues/266
2020-02-20 21:51:56 +01:00
Dominik Schrempf f94fea9200
[treemacs] Improve documentation
This is a squash commit, below are the original messages
[treemacs] documentation; locking width section.
[treemacs] documentation; change wording in description.
[treemacs] documentation; improve install section.
[treemacs] documentation; Git mode section.
[treemacs] documentation; flatten directories section.
2020-01-30 22:52:05 +00:00
Michael Peyton Jones fed397cea9 treemacs: don't set non-existent options
These options were removed some time ago.
2020-01-30 17:47:35 +01:00
Michael Peyton Jones 6d0120c417 treemacs: don't set variables to their default
This allows us to follow upstream's default behaviour, and would have
prevented us from accidentally setting the wrong sort order.
2020-01-30 17:47:35 +01:00
Michael Peyton Jones c8bc98a48e treemacs: fix default sorting
I would expect the default sort order in treemacs to be alphabetically
ascending, and indeed until recently it appeared to be so. But the
setting in spacemacs is `alphabetic-desc`, and has been ever since the
layer was introduced. How did this work?

The answer is https://github.com/Alexander-Miller/treemacs/pull/577.
Until recently the alphabetical ascending/descending orders were swapped
accidentally. So we need to now (more logically) set the sort order to
`alphabetic-asc`.
2020-01-30 17:47:34 +01:00
Seong Yong-ju 58279f89ea [treemacs] Add persp-mode integration 2020-01-20 14:35:45 +01:00
Alexander Miller 3407ecde6b
[treemacs] Deprecate treemacs-use-collapsed-directories.
Also contains below squashed commit
[treemacs] Make sure width (un)locking message won't appear on every start.
2019-11-23 01:40:14 +01:00
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