add famiu/bufdelete.nvim

This commit is contained in:
leafee98 2023-07-12 11:41:09 +08:00
parent e46f348744
commit 214741277e
2 changed files with 7 additions and 1 deletions

View file

@ -22,7 +22,6 @@ vim.keymap.set("n", "<C-l>", "<cmd>wincmd l<CR>", { silent = true })
vim.keymap.set("n", "<F1>", "<cmd>bprevious<CR>", { silent = true }) vim.keymap.set("n", "<F1>", "<cmd>bprevious<CR>", { silent = true })
vim.keymap.set("n", "<F2>", "<cmd>bnext<CR>", { silent = true }) vim.keymap.set("n", "<F2>", "<cmd>bnext<CR>", { silent = true })
vim.keymap.set("n", "<F3>", "<cmd>bdelete<CR>", { silent = true })
vim.g.mapleader = " " vim.g.mapleader = " "
vim.g.maplocalleader = " " vim.g.maplocalleader = " "

View file

@ -7,6 +7,13 @@ return {
vim.cmd("colorscheme gruvbox-material") vim.cmd("colorscheme gruvbox-material")
end end
}, },
{
"famiu/bufdelete.nvim",
lazy = false,
keys = {
{ "<F3>", "<cmd>Bdelete<CR>", mode = "n" },
},
},
{ {
"karb94/neoscroll.nvim", "karb94/neoscroll.nvim",
enabled = full_feature, enabled = full_feature,