From 3c7dfc4a3ee323a4facf31f5fba7a6b50e1f5505 Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Tue, 22 Oct 2024 14:49:15 +0200 Subject: [PATCH] install vim-bbye to delete buffers without losing window layout --- lazy-lock.json | 1 + lua/custom/plugins/vimbbye.lua | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 lua/custom/plugins/vimbbye.lua diff --git a/lazy-lock.json b/lazy-lock.json index 17bde58..518f25e 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -34,6 +34,7 @@ "telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" }, "telescope.nvim": { "branch": "0.1.x", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" }, "todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" }, + "vim-bbye": { "branch": "master", "commit": "25ef93ac5a87526111f43e5110675032dbcacf56" }, "vim-flog": { "branch": "master", "commit": "6f80c1ffa7068ca8cc0e29af7af4f6ed0717e65e" }, "vim-fugitive": { "branch": "master", "commit": "d4877e54cef67f5af4f950935b1ade19ed6b7370" }, "vim-lastplace": { "branch": "master", "commit": "e58cb0df716d3c88605ae49db5c4741db8b48aa9" }, diff --git a/lua/custom/plugins/vimbbye.lua b/lua/custom/plugins/vimbbye.lua new file mode 100644 index 0000000..7b9d0f2 --- /dev/null +++ b/lua/custom/plugins/vimbbye.lua @@ -0,0 +1,8 @@ +return { + { + 'moll/vim-bbye', + config = function() + vim.keymap.set('n', 'bd', 'Bdelete', { desc = '[B]uffer [D]elete' }) + end, + }, +}