feat(bookmarks): add bookmark feature (#1412)
This commit is contained in:
@@ -45,6 +45,7 @@ local Actions = {
|
||||
run_file_command = require("nvim-tree.actions.node.run-command").run_file_command,
|
||||
toggle_file_info = require("nvim-tree.actions.node.file-popup").toggle_file_info,
|
||||
system_open = require("nvim-tree.actions.node.system-open").fn,
|
||||
toggle_mark = require("nvim-tree.marks").toggle_mark,
|
||||
}
|
||||
|
||||
local function handle_action_on_help_ui(action)
|
||||
|
||||
@@ -227,6 +227,11 @@ local DEFAULT_MAPPINGS = {
|
||||
action = "toggle_help",
|
||||
desc = "toggle help",
|
||||
},
|
||||
{
|
||||
key = "m",
|
||||
action = "toggle_mark",
|
||||
desc = "Toggle node in bookmarks",
|
||||
},
|
||||
}
|
||||
-- END_DEFAULT_MAPPINGS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user