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
@@ -299,6 +299,9 @@ local config = {
299
299
-- the global popup_border_style.
300
300
},
301
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.
302
305
-- Mappings for tree window. See `:h neo-tree-mappings` for a list of built-in commands.
303
306
-- You can also create your own commands by providing a function instead of a string.
304
307
mapping_options= {
@@ -330,17 +333,18 @@ local config = {
330
333
"add",
331
334
-- some commands may take optional config options, see `:h neo-tree-mappings` for details
0 commit comments