Skip to content

Commit

Permalink
feat(bufferline-nvim): add buffer toggle pin binding (#1179)
Browse files Browse the repository at this point in the history
fix(bufferline-nvim): add buffer toggle pin binding
  • Loading branch information
badrbouslikhin authored Aug 28, 2024
1 parent daeef59 commit 53f6dc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/astrocommunity/bars-and-lines/bufferline-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ return {
function() require("bufferline.commands").close_in_direction "right" end,
desc = "Close all buffers to the right of the current",
},
["<Leader>bp"] = { "<Cmd>BufferLineTogglePin<CR>", desc = "Toggle pin buffer" },
["<Leader>bse"] = {
function() require("bufferline.commands").sort_by "extension" end,
desc = "Sort buffers by extension",
Expand Down

0 comments on commit 53f6dc3

Please sign in to comment.