commit f5de4bdb62d91747cdd36f167d9fa3274fae1ccb
parent 861ac8df54f848c182bac02ae4131539139c7a16
Author: AndrewLockVI <andrew@laack.co>
Date: Tue, 18 Feb 2025 18:56:55 -0600
Updated binding for close window to fit with the rest of my applications.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lua/core/keymaps.lua b/lua/core/keymaps.lua
@@ -138,6 +138,7 @@ vim.api.nvim_set_hl(0, "Normal", { bg = "#000000" })
---- remap new window direction
vim.api.nvim_set_keymap('n', '<C-w>h', ':vsplit<CR>', { noremap = true, silent = true })
vim.api.nvim_set_keymap('n', '<C-w>v', ':split<CR>', { noremap = true, silent = true })
+vim.api.nvim_set_keymap('n', '<C-w>x', ':close<CR>', { noremap = true, silent = true })
vim.o.shortmess = vim.o.shortmess .. "I"