Skip to content

Commit 16854ed

Browse files
authored
fix(defaults): skip rename_basename in document_symbols mapping (#1706)
1 parent 1655119 commit 16854ed

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lua/neo-tree/defaults.lua

+3-1
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,6 @@ local config = {
425425
["A"] = "add_directory", -- also accepts the config.show_path and config.insert_as options.
426426
["d"] = "delete",
427427
["r"] = "rename",
428-
["b"] = "rename_basename",
429428
["y"] = "copy_to_clipboard",
430429
["x"] = "cut_to_clipboard",
431430
["p"] = "paste_from_clipboard",
@@ -454,6 +453,7 @@ local config = {
454453
["[g"] = "prev_git_modified",
455454
["]g"] = "next_git_modified",
456455
["i"] = "show_file_details", -- see `:h neo-tree-file-actions` for options to customize the window.
456+
["b"] = "rename_basename",
457457
["o"] = { "show_help", nowait=false, config = { title = "Order by", prefix_key = "o" }},
458458
["oc"] = { "order_by_created", nowait = false },
459459
["od"] = { "order_by_diagnostics", nowait = false },
@@ -586,6 +586,7 @@ local config = {
586586
["d"] = "buffer_delete",
587587
["bd"] = "buffer_delete",
588588
["i"] = "show_file_details", -- see `:h neo-tree-file-actions` for options to customize the window.
589+
["b"] = "rename_basename",
589590
["o"] = { "show_help", nowait=false, config = { title = "Order by", prefix_key = "o" }},
590591
["oc"] = { "order_by_created", nowait = false },
591592
["od"] = { "order_by_diagnostics", nowait = false },
@@ -607,6 +608,7 @@ local config = {
607608
["gp"] = "git_push",
608609
["gg"] = "git_commit_and_push",
609610
["i"] = "show_file_details", -- see `:h neo-tree-file-actions` for options to customize the window.
611+
["b"] = "rename_basename",
610612
["o"] = { "show_help", nowait=false, config = { title = "Order by", prefix_key = "o" }},
611613
["oc"] = { "order_by_created", nowait = false },
612614
["od"] = { "order_by_diagnostics", nowait = false },

0 commit comments

Comments
 (0)