diff options
author | 2025-05-09 13:51:31 +0300 | |
---|---|---|
committer | 2025-05-09 13:51:31 +0300 | |
commit | 87f11d8d8ee55a10304eeb245dfa658447a0730b (patch) | |
tree | d1ae84dd6932284bf87cbfad8f2414bd1ec7bbfc /lua/config | |
parent | feat: add quickfix keybind and helptag search (diff) | |
download | neovim-configuration-87f11d8d8ee55a10304eeb245dfa658447a0730b.tar.gz neovim-configuration-87f11d8d8ee55a10304eeb245dfa658447a0730b.tar.bz2 neovim-configuration-87f11d8d8ee55a10304eeb245dfa658447a0730b.tar.lz neovim-configuration-87f11d8d8ee55a10304eeb245dfa658447a0730b.tar.xz neovim-configuration-87f11d8d8ee55a10304eeb245dfa658447a0730b.tar.zst neovim-configuration-87f11d8d8ee55a10304eeb245dfa658447a0730b.zip |
feat: add buffer- and tab-related keybinds
Diffstat (limited to '')
-rw-r--r-- | lua/config/options.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/config/options.lua b/lua/config/options.lua index 5a7be5d..43bf110 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -59,3 +59,12 @@ map("n", "N", "Nzzzv", { desc = "Previous Search Result" }) -- Reset search highlight on ESC map("n", "<Esc>", "<cmd>nohlsearch<CR>", { desc = "Reset search highlight" }) + +-- 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" }) |