From 505c006a0f6796e298beb4b101dd6afe1c58f7d6 Mon Sep 17 00:00:00 2001
From: Iordanis Petkakis <12776461+dpetka2001@users.noreply.github.com>
Date: Mon, 10 Nov 2025 21:21:42 +0200
Subject: [PATCH] fix(terminal): partially revert previous mappings
Commit 4efd0e2bea2a387d6fcdea8cf36a62049e8bafed introduced some changes
to terminal mappings. I tested in a new LazyVim installation and
`sidekick.nvim` is not affected by `` any more.
The mappings `hide_underscore` and `hide_slash` don't let user to create
new terminals with `2`, `3` and so on. Therefore, I believe
it would be a better default to revert these 2 mappings explicitly.
---
lua/lazyvim/plugins/util.lua | 2 --
1 file changed, 2 deletions(-)
diff --git a/lua/lazyvim/plugins/util.lua b/lua/lazyvim/plugins/util.lua
index 0357c3fb..8d8aa220 100644
--- a/lua/lazyvim/plugins/util.lua
+++ b/lua/lazyvim/plugins/util.lua
@@ -23,8 +23,6 @@ return {
nav_j = { "", term_nav("j"), desc = "Go to Lower Window", expr = true, mode = "t" },
nav_k = { "", term_nav("k"), desc = "Go to Upper Window", expr = true, mode = "t" },
nav_l = { "", term_nav("l"), desc = "Go to Right Window", expr = true, mode = "t" },
- hide_slash = { "", "hide", desc = "Hide Terminal", mode = { "t", "n" } },
- hide_underscore = { "", "hide", desc = "which_key_ignore", mode = { "t", "n" } },
},
},
},