summaryrefslogtreecommitdiff
path: root/lua/config/options.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lua/config/options.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/lua/config/options.lua b/lua/config/options.lua
index 5a7be5d..6208be7 100644
--- a/lua/config/options.lua
+++ b/lua/config/options.lua
@@ -59,3 +59,15 @@ map("n", "N", "Nzzzv", { desc = "Previous Search Result" })
-- Reset search highlight on ESC
map("n", "<Esc>", "<cmd>nohlsearch<CR>", { desc = "Reset search highlight" })
+
+-- Window related binds
+map("n", "<C-w>d", "<C-w>c", { desc = "[D]elete [W]indow" })
+
+-- Buffer related binds
+map("n", "<leader>bd", "<cmd>bdelete<CR>", { desc = "[D]elete [B]uffer" })
+
+-- Tab related binds
+map("n", "[T", "<cmd>tabprev<CR>", { desc = "Previous Tab" })
+map("n", "]T", "<cmd>tabnext<CR>", { desc = "Previous Tab" })
+map("n", "<leader><tab>d", "<cmd>tabclose<CR>", { desc = "[D]elete [T]ab" })
+map("n", "<leader><tab>n", "<cmd>tabnew<CR>", { desc = "[N]ew [T]ab" })