From c82b26eb4ba35c0eb7ec38d88dd400597fb34883 Mon Sep 17 00:00:00 2001 From: k14lb3 <76220140+k14lb3@users.noreply.github.com> Date: Wed, 12 Jun 2024 23:17:42 +0800 Subject: [PATCH] fix: incorrect default config actions (#414) --- README.md | 6 +++--- doc/oil.txt | 6 +++--- lua/oil/config.lua | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index fa31059..67b2416 100644 --- a/README.md +++ b/README.md @@ -184,9 +184,9 @@ require("oil").setup({ keymaps = { ["g?"] = "actions.show_help", [""] = "actions.select", - [""] = { "actions.select_split", opts = { vertical = true } }, - [""] = { "actions.select_split", opts = { horizontal = true } }, - [""] = { "actions.select_split", opts = { tab = true } }, + [""] = { "actions.select", opts = { vertical = true } }, + [""] = { "actions.select", opts = { horizontal = true } }, + [""] = { "actions.select", opts = { tab = true } }, [""] = "actions.preview", [""] = "actions.close", [""] = "actions.refresh", diff --git a/doc/oil.txt b/doc/oil.txt index 548c739..b20dbe9 100644 --- a/doc/oil.txt +++ b/doc/oil.txt @@ -75,9 +75,9 @@ CONFIG *oil-confi keymaps = { ["g?"] = "actions.show_help", [""] = "actions.select", - [""] = { "actions.select_split", opts = { vertical = true } }, - [""] = { "actions.select_split", opts = { horizontal = true } }, - [""] = { "actions.select_split", opts = { tab = true } }, + [""] = { "actions.select", opts = { vertical = true } }, + [""] = { "actions.select", opts = { horizontal = true } }, + [""] = { "actions.select", opts = { tab = true } }, [""] = "actions.preview", [""] = "actions.close", [""] = "actions.refresh", diff --git a/lua/oil/config.lua b/lua/oil/config.lua index af19c05..563ed0f 100644 --- a/lua/oil/config.lua +++ b/lua/oil/config.lua @@ -58,9 +58,9 @@ local default_config = { keymaps = { ["g?"] = "actions.show_help", [""] = "actions.select", - [""] = { "actions.select_split", opts = { vertical = true } }, - [""] = { "actions.select_split", opts = { horizontal = true } }, - [""] = { "actions.select_split", opts = { tab = true } }, + [""] = { "actions.select", opts = { vertical = true } }, + [""] = { "actions.select", opts = { horizontal = true } }, + [""] = { "actions.select", opts = { tab = true } }, [""] = "actions.preview", [""] = "actions.close", [""] = "actions.refresh",