@@ -14,6 +14,7 @@ CONTENTS *nvim-tree*
14
14
6. Highlight Groups | nvim-tree-highlight |
15
15
7. Events | nvim-tree-events |
16
16
7.1 Available Events | nvim-tree.events |
17
+ 8. Bookmarks | nvim-tree-bookmarks |
17
18
18
19
==============================================================================
19
20
1. INTRODUCTION *nvim-tree-introduction*
@@ -220,6 +221,7 @@ Subsequent calls to setup will replace the previous configuration.
220
221
glyphs = {
221
222
default = "",
222
223
symlink = "",
224
+ bookmark = "",
223
225
folder = {
224
226
arrow_closed = "",
225
227
arrow_open = "",
@@ -1012,6 +1014,7 @@ DEFAULT MAPPINGS *nvim-tree-default-mappings
1012
1014
`.` run_file_command enter vim command mode with the file the cursor is on
1013
1015
`<C-k> ` toggle_file_info toggle a popup with file infos about the file under the cursor
1014
1016
`g ?` toggle_help toggle help
1017
+ `m ` toggle_mark Toggle node in bookmarks
1015
1018
1016
1019
>
1017
1020
view.mappings.list = { -- BEGIN_DEFAULT_MAPPINGS
@@ -1059,6 +1062,7 @@ DEFAULT MAPPINGS *nvim-tree-default-mappings
1059
1062
{ key = ".", action = "run_file_command" }
1060
1063
{ key = "<C-k>", action = "toggle_file_info" }
1061
1064
{ key = "g?", action = "toggle_help" }
1065
+ { key = "m", action = "toggle_mark" }
1062
1066
} -- END_DEFAULT_MAPPINGS
1063
1067
<
1064
1068
==============================================================================
@@ -1130,6 +1134,11 @@ There are 2 highlight groups for the live filter feature
1130
1134
NvimTreeLiveFilterPrefix
1131
1135
NvimTreeLiveFilterValue
1132
1136
1137
+ Color of the bookmark icon
1138
+
1139
+ NvimTreeBookmark
1140
+
1141
+
1133
1142
==============================================================================
1134
1143
7. EVENTS *nvim-tree-events*
1135
1144
@@ -1245,4 +1254,14 @@ on_tree_resize({handler})
1245
1254
{handler} `{function }` Handler function, with the
1246
1255
signature `function (size)` .
1247
1256
1257
+ ==============================================================================
1258
+ 8. BOOKMARKS *nvim-tree-bookmarks*
1259
+
1260
+ You can toggle marks on files/folders with
1261
+ `require (" nvim-tree.marks" ).toggle_mark (node)` which is bound to `m ` by
1262
+ default.
1263
+
1264
+ To get the list of marked paths, you can call
1265
+ `require (" nvim-tree.marks" ).get_marks ()` . This will return `{string }` .
1266
+
1248
1267
vim:tw=78:ts=4:sw=4:et:ft=help:norl:
0 commit comments