From a0e7ab8d860d10fcbe82e3e47b7e59d6fe687358 Mon Sep 17 00:00:00 2001 From: Riku Takeuchi Date: Sat, 8 Nov 2025 20:50:49 +0900 Subject: [PATCH] feat: update oil.nvim keymaps for split window support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace single keymap with three keymaps for better window management: - e: Open oil.nvim in current buffer - v: Open oil.nvim in vertical split - s: Open oil.nvim in horizontal split These keymaps align with Vim's standard window management patterns, making it more intuitive to open the file explorer in different layouts. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- roles/cui/templates/.config/nvim/lua/plugins/oil.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/cui/templates/.config/nvim/lua/plugins/oil.lua b/roles/cui/templates/.config/nvim/lua/plugins/oil.lua index 191cbb7..e96a9bc 100644 --- a/roles/cui/templates/.config/nvim/lua/plugins/oil.lua +++ b/roles/cui/templates/.config/nvim/lua/plugins/oil.lua @@ -4,7 +4,9 @@ return { opts = {}, dependencies = { "nvim-tree/nvim-web-devicons" }, keys = { - { ".", "Oil", desc = "Open parent directory", mode = "n" }, + { "e", "Oil", desc = "Open filer in current buffer", mode = "n" }, + { "v", "vsplit | Oil", desc = "Open filer in vertical split", mode = "n" }, + { "s", "split | Oil", desc = "Open filer in horizontal split", mode = "n" }, }, config = function() require("oil").setup({