Skip to content

Commit

Permalink
feat(bufferline): added keymaps to pin and delete non-pinned buffers.…
Browse files Browse the repository at this point in the history
… See #218
  • Loading branch information
folke committed Feb 9, 2023
1 parent d61e4bd commit 3af9155
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lua/lazyvim/plugins/ui.lua
Expand Up @@ -44,6 +44,10 @@ return {
{
"akinsho/bufferline.nvim",
event = "VeryLazy",
keys = {
{ "<leader>bp", "<Cmd>BufferLineTogglePin<CR>", desc = "Toggle pin" },
{ "<leader>bP", "<Cmd>BufferLineGroupClose ungrouped<CR>", desc = "Delete non-pinned buffers" },
},
opts = {
options = {
diagnostics = "nvim_lsp",
Expand Down

0 comments on commit 3af9155

Please sign in to comment.