You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lua/neo-tree/defaults.lua
+8-4
Original file line number
Diff line number
Diff line change
@@ -298,6 +298,10 @@ local config = {
298
298
-- you can also specify border here, if you want a different setting from
299
299
-- the global popup_border_style.
300
300
},
301
+
same_level=false, -- Create and paste/move files/directories on the same level as the directory under cursor (as opposed to within the directory under cursor).
302
+
insert_as="child", -- Affects how nodes get inserted into the tree during creation/pasting/moving of files if the node under the cursor is a directory:
303
+
-- "child": Insert nodes as children of the directory under cursor.
304
+
-- "sibling": Insert nodes as siblings of the directory under cursor.
301
305
-- Mappings for tree window. See `:h neo-tree-mappings` for a list of built-in commands.
302
306
-- You can also create your own commands by providing a function instead of a string.
303
307
mapping_options= {
@@ -330,17 +334,17 @@ local config = {
330
334
"add",
331
335
-- some commands may take optional config options, see `:h neo-tree-mappings` for details
0 commit comments