From 952d9a15eda234acad7a711902835ba4711c945c Mon Sep 17 00:00:00 2001 From: Bryan Ramos Date: Fri, 16 Feb 2024 20:08:59 -0500 Subject: [PATCH] Changed window binds --- .../neovim/config/lazyvim/lua/config/autocmds.lua | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/modules/gui/desktopEnvironments/modules/neovim/config/lazyvim/lua/config/autocmds.lua b/src/modules/gui/desktopEnvironments/modules/neovim/config/lazyvim/lua/config/autocmds.lua index 2256f81..026bc41 100644 --- a/src/modules/gui/desktopEnvironments/modules/neovim/config/lazyvim/lua/config/autocmds.lua +++ b/src/modules/gui/desktopEnvironments/modules/neovim/config/lazyvim/lua/config/autocmds.lua @@ -8,8 +8,18 @@ vim.cmd([[ ]]) require("which-key").register({ + w = { + d = { + "bd | close", + "Delete window and buffer" + }, + D = { + "close", + "Delete window only", + }, + }, t = { - ":new | setlocal nonumber norelativenumber | resize 10 | set winfixheight | terminal | startinsert", + ":new | setlocal nonumber norelativenumber | resize 10 | set winfixheight | terminal", "Open Terminal", }, }, {