mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-31 07:09:23 +02:00
[Feature]: Add new which-key command for switching to the last buffer (#1440)
* Add new which-key command for switching to last buffer * chore(whichkey) Rework buffer descriptions Co-authored-by: Luc Sinet <luc.sinet@gmail.com>
This commit is contained in:
parent
c7aa418609
commit
d5d47d4d7a
1 changed files with 10 additions and 9 deletions
|
@ -72,25 +72,26 @@ M.config = function()
|
|||
["h"] = { "<cmd>nohlsearch<CR>", "No Highlight" },
|
||||
b = {
|
||||
name = "Buffers",
|
||||
j = { "<cmd>BufferPick<cr>", "jump to buffer" },
|
||||
f = { "<cmd>Telescope buffers<cr>", "Find buffer" },
|
||||
w = { "<cmd>BufferWipeout<cr>", "wipeout buffer" },
|
||||
j = { "<cmd>BufferPick<cr>", "Jump" },
|
||||
f = { "<cmd>Telescope buffers<cr>", "Find" },
|
||||
b = { "<cmd>b#<cr>", "Previous" },
|
||||
w = { "<cmd>BufferWipeout<cr>", "Wipeout" },
|
||||
e = {
|
||||
"<cmd>BufferCloseAllButCurrent<cr>",
|
||||
"close all but current buffer",
|
||||
"Close all but current",
|
||||
},
|
||||
h = { "<cmd>BufferCloseBuffersLeft<cr>", "close all buffers to the left" },
|
||||
l = {
|
||||
l = { "<cmd>BufferCloseBuffersLeft<cr>", "Close all - left" },
|
||||
r = {
|
||||
"<cmd>BufferCloseBuffersRight<cr>",
|
||||
"close all BufferLines to the right",
|
||||
"Close all - right",
|
||||
},
|
||||
D = {
|
||||
"<cmd>BufferOrderByDirectory<cr>",
|
||||
"sort BufferLines automatically by directory",
|
||||
"Sort by directory",
|
||||
},
|
||||
L = {
|
||||
"<cmd>BufferOrderByLanguage<cr>",
|
||||
"sort BufferLines automatically by language",
|
||||
"Sort by language",
|
||||
},
|
||||
},
|
||||
p = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue