Skip to content

Commit 9ffecac

Browse files
committed
chore: add partial documentation in readme and mapping doc in doc file
1 parent 2355fe9 commit 9ffecac

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,8 @@ local list = {
263263
{ key = "s", cb = tree_cb("system_open") },
264264
{ key = "q", cb = tree_cb("close") },
265265
{ key = "g?", cb = tree_cb("toggle_help") },
266+
{ key = 'm', cb = ":lua require'nvim-tree.marks'.toggle_mark()<cr>" },
267+
{ key = 'M', cb = ":lua require'nvim-tree.marks'.disable_all()<cr>" },
266268
}
267269
```
268270

@@ -282,7 +284,7 @@ You can toggle the help UI by pressing `g?`.
282284
- Git integration (icons and file highlight)
283285
- Lsp diagnostics integration (signs)
284286
- Indent markers
285-
- Marks (for bulk actions)
287+
- Marks (for bulk actions, see `:help nvim-tree.marks`)
286288
- Mouse support
287289
- It's fast
288290

doc/nvim-tree-lua.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,8 @@ Defaults to:
591591
{ key = "s", cb = tree_cb("system_open") },
592592
{ key = "q", cb = tree_cb("close") },
593593
{ key = "g?", cb = tree_cb("toggle_help") },
594+
{ key = 'm', cb = ":lua require'nvim-tree.marks'.toggle_mark()<cr>" },
595+
{ key = 'M', cb = ":lua require'nvim-tree.marks'.disable_all()<cr>" },
594596
}
595597
<
596598

0 commit comments

Comments
 (0)