Sfoglia il codice sorgente

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 anni fa
parent
commit
d53b3743f2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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>",