From c64a61734fc9d45470a72603395c02137802bc6f Mon Sep 17 00:00:00 2001
From: Iordanis Petkakis <12776461+dpetka2001@users.noreply.github.com>
Date: Tue, 11 Nov 2025 10:35:25 +0200
Subject: [PATCH] fix(terminal): partially revert previous mappings (#6770)
## Description
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. Instead they hide the
terminal and user can't open split terminals next to each other any
more.
Therefore, I believe it would be a better default to revert these 2
mappings explicitly.
## Related Issue(s)
None
## Screenshots
## Checklist
- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
---
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" } },
},
},
},