@@ -18,12 +18,10 @@ return {
1818
1919 hl (0 , " NeoTreeMixedBorder" , { fg = mixed_color , bold = true })
2020 hl (0 , " NeoTreeFloatTitle" , { fg = bg_dark , bg = mixed_color , bold = true })
21-
2221 hl (0 , " NeoTreeTabActive" , { fg = mixed_color , bg = bg_dark , bold = true , underline = true })
2322 hl (0 , " NeoTreeTabInactive" , { fg = purple , bg = bg_dark })
2423 hl (0 , " NeoTreeTabSeparatorActive" , { fg = bg_dark , bg = bg_dark })
2524 hl (0 , " NeoTreeTabSeparatorInactive" , { fg = bg_dark , bg = bg_dark })
26-
2725 hl (0 , " NeoTreeMessage" , { fg = purple , italic = true })
2826
2927 require (" neo-tree" ).setup (opts )
@@ -41,7 +39,6 @@ return {
4139 { " ╰" , " NeoTreeMixedBorder" },
4240 { " │" , " NeoTreeMixedBorder" },
4341 },
44-
4542 source_selector = {
4643 winbar = true ,
4744 content_layout = " center" ,
@@ -51,25 +48,10 @@ return {
5148 { source = " git_status" , display_name = " Git " },
5249 },
5350 },
54-
55- default_component_configs = {
56- indent = {
57- with_markers = true ,
58- indent_marker = " │" ,
59- last_indent_marker = " └" ,
60- indent_size = 2 ,
61- },
62- icon = {
63- folder_closed = " " ,
64- folder_open = " " ,
65- folder_empty = " " ,
66- },
67- },
68-
6951 window = {
7052 position = " float" ,
7153 popup = {
72- size = { height = " 40 " , width = " 80 " },
54+ size = { height = " 45 " , width = " 65 " },
7355 position = " 50%" ,
7456 },
7557 mappings = {
@@ -78,15 +60,12 @@ return {
7860 [" l" ] = " open" ,
7961 [" h" ] = " close_node" ,
8062 [" P" ] = { " toggle_preview" , config = { use_float = true } },
81-
82- [" /" ] = " fuzzy_finder" ,
83- [" f" ] = " filter_on_submit" ,
84-
8563 [" <Tab>" ] = " next_source" ,
8664 [" <S-Tab>" ] = " prev_source" ,
65+ [" /" ] = " fuzzy_finder" ,
66+ [" f" ] = " filter_on_submit" ,
8767 },
8868 },
89-
9069 filesystem = {
9170 filtered_items = {
9271 visible = true ,
@@ -99,9 +78,29 @@ return {
9978 [" <C-n>" ] = " move_cursor_down" ,
10079 [" <up>" ] = " move_cursor_up" ,
10180 [" <C-p>" ] = " move_cursor_up" ,
81+ [" <esc>" ] = " close" ,
82+ },
83+ filter_mappings = {
84+ [" <esc>" ] = " close" ,
85+ [" <C-c>" ] = " close" ,
86+ },
87+ },
88+ buffers = {
89+ window = {
90+ mappings = {
91+ [" /" ] = " noop" ,
92+ [" f" ] = " noop" ,
93+ },
94+ },
95+ },
96+ git_status = {
97+ window = {
98+ mappings = {
99+ [" /" ] = " noop" ,
100+ [" f" ] = " noop" ,
101+ },
102102 },
103103 },
104-
105104 event_handlers = {
106105 {
107106 event = " file_opened" ,
0 commit comments