Pārlūkot izejas kodu

Merge pull request #2873 from benediktms/default-keybind-to-cycle-to-next-buffer

feat(whichkey) add default keybindings to cycle to next buffer
rebuilt 2 gadi atpakaļ
vecāks
revīzija
d53b3743f2
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      lua/lvim/core/which-key.lua

+ 1 - 1
lua/lvim/core/which-key.lua

@@ -1,5 +1,4 @@
 local M = {}
-
 M.config = function()
   lvim.builtin.which_key = {
     ---@usage disable which-key completely [not recommended]
@@ -92,6 +91,7 @@ M.config = function()
         j = { "<cmd>BufferLinePick<cr>", "Jump" },
         f = { "<cmd>Telescope buffers<cr>", "Find" },
         b = { "<cmd>BufferLineCyclePrev<cr>", "Previous" },
+        n = { "<cmd>BufferLineCycleNext<cr>", "Next" },
         -- w = { "<cmd>BufferWipeout<cr>", "Wipeout" }, -- TODO: implement this for bufferline
         e = {
           "<cmd>BufferLinePickClose<cr>",