Skip to content

Commit 810fea2

Browse files
committed
update
1 parent aa924f9 commit 810fea2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lua/dired/init.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@ Browser.setup = function(state)
10421042
end
10431043

10441044
if PathOps.isFile(new_path) then
1045-
Actions.openFile(state, new_path, vim.cmd.edit)
1045+
Actions.openFile(state, new_path, vim.cmd.split)
10461046
end
10471047
end,
10481048
},
@@ -1065,7 +1065,7 @@ Browser.setup = function(state)
10651065
end
10661066

10671067
if PathOps.isFile(new_path) then
1068-
Actions.openFile(state, new_path, vim.cmd.edit)
1068+
Actions.openFile(state, new_path, vim.cmd.vsplit)
10691069
end
10701070
end,
10711071
},

0 commit comments

Comments
 (0)