diff --git a/lua/oil/actions.lua b/lua/oil/actions.lua index 66b422d..1da95f4 100644 --- a/lua/oil/actions.lua +++ b/lua/oil/actions.lua @@ -194,7 +194,7 @@ M.open_cmdline = { } M.copy_entry_path = { - desc = "Copy the filepath of the entry under the cursor to the + register", + desc = "Yank the filepath of the entry under the cursor to a register", callback = function() local entry = oil.get_cursor_entry() local dir = oil.get_current_dir() diff --git a/lua/oil/init.lua b/lua/oil/init.lua index 0459544..55c68d9 100644 --- a/lua/oil/init.lua +++ b/lua/oil/init.lua @@ -548,11 +548,6 @@ M.select = function(opts) vim.w.oil_entry_id = entry.id vim.api.nvim_set_current_win(prev_win) end - -- Set opts.split so that for every entry after the first, we do a split - opts.split = opts.split or "belowright" - if not opts.horizontal and opts.vertical == nil then - opts.vertical = true - end end if