From 34d56c712ece5527c1be8dd08ed74dc7225e29ea Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 31 May 2024 23:49:30 +0200 Subject: [PATCH] plugins/barbar: add keymaps.* options for missing actions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ismaïl Senhaji <134528+iSma@users.noreply.github.com> --- plugins/bufferlines/barbar.nix | 14 ++++++++++++++ tests/test-sources/plugins/bufferlines/barbar.nix | 1 + 2 files changed, 15 insertions(+) diff --git a/plugins/bufferlines/barbar.nix b/plugins/bufferlines/barbar.nix index 309b5b5b..2d33a6ca 100644 --- a/plugins/bufferlines/barbar.nix +++ b/plugins/bufferlines/barbar.nix @@ -12,6 +12,9 @@ let next = "Next"; movePrevious = "MovePrevious"; moveNext = "MoveNext"; + moveStart = "MoveStart"; + scrollLeft = "ScrollLeft"; + scrollRight = "ScrollRight"; goTo1 = "Goto 1"; goTo2 = "Goto 2"; goTo3 = "Goto 3"; @@ -21,11 +24,22 @@ let goTo7 = "Goto 7"; goTo8 = "Goto 8"; goTo9 = "Goto 9"; + first = "First"; last = "Last"; pin = "Pin"; + restore = "Restore"; close = "Close"; + closeAllButCurrent = "CloseAllButCurrent"; + closeAllButVisible = "CloseAllButVisible"; + closeAllButPinned = "CloseAllButPinned"; + closeAllButCurrentOrPinned = "CloseAllButCurrentOrPinned"; + closeBuffersLeft = "CloseBuffersLeft"; + closeBuffersRight = "CloseBuffersRight"; + wipeout = "Wipeout"; pick = "Pick"; + pickDelete = "PickDelete"; orderByBufferNumber = "OrderByBufferNumber"; + orderByName = "OrderByName"; orderByDirectory = "OrderByDirectory"; orderByLanguage = "OrderByLanguage"; orderByWindowNumber = "OrderByWindowNumber"; diff --git a/tests/test-sources/plugins/bufferlines/barbar.nix b/tests/test-sources/plugins/bufferlines/barbar.nix index 1680e92b..fddf4c84 100644 --- a/tests/test-sources/plugins/bufferlines/barbar.nix +++ b/tests/test-sources/plugins/bufferlines/barbar.nix @@ -14,6 +14,7 @@ key = ""; options.desc = "Barbar close tab"; }; + restore.key = ""; }; }; };