diff --git a/lua/taken/plugins/neotree.lua b/lua/taken/plugins/neotree.lua index 7a96caa..41ecad7 100644 --- a/lua/taken/plugins/neotree.lua +++ b/lua/taken/plugins/neotree.lua @@ -23,10 +23,7 @@ return { position = "right", width = 30, mappings = { - [""] = { - "toggle_node", - nowait = false, - }, + [""] = { "toggle_node", nowait = false }, ["<2-LeftMouse>"] = "open", [""] = "open", [""] = "cancel", @@ -75,35 +72,7 @@ return { }, group_empty_dirs = false, hijack_netrw_behavior = "open_current", - use_libuv_file_watcher = false, - window = { - mappings = { - [""] = "navigate_up", - ["."] = "set_root", - ["H"] = "toggle_hidden", - ["/"] = "fuzzy_finder", - ["D"] = "fuzzy_finder_directory", - ["#"] = "fuzzy_sorter", - ["f"] = "filter_on_submit", - [""] = "clear_filter", - ["[g"] = "prev_git_modified", - ["]g"] = "next_git_modified", - ["o"] = { "show_help", nowait = false, config = { title = "Order by", prefix_key = "o" } }, - ["oc"] = { "order_by_created", nowait = false }, - ["od"] = { "order_by_diagnostics", nowait = false }, - ["og"] = { "order_by_git_status", nowait = false }, - ["om"] = { "order_by_modified", nowait = false }, - ["on"] = { "order_by_name", nowait = false }, - ["os"] = { "order_by_size", nowait = false }, - ["ot"] = { "order_by_type", nowait = false }, - }, - fuzzy_finder_mappings = { - [""] = "move_cursor_down", - [""] = "move_cursor_down", - [""] = "move_cursor_up", - [""] = "move_cursor_up", - }, - }, + use_libuv_file_watcher = true, }, }) end,