Skip to content

Commit 34d56c7

Browse files
GaetanLepageiSma
andcommitted
plugins/barbar: add keymaps.* options for missing actions
Co-authored-by: Ismaïl Senhaji <[email protected]>
1 parent 1c27052 commit 34d56c7

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

plugins/bufferlines/barbar.nix

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ let
1212
next = "Next";
1313
movePrevious = "MovePrevious";
1414
moveNext = "MoveNext";
15+
moveStart = "MoveStart";
16+
scrollLeft = "ScrollLeft";
17+
scrollRight = "ScrollRight";
1518
goTo1 = "Goto 1";
1619
goTo2 = "Goto 2";
1720
goTo3 = "Goto 3";
@@ -21,11 +24,22 @@ let
2124
goTo7 = "Goto 7";
2225
goTo8 = "Goto 8";
2326
goTo9 = "Goto 9";
27+
first = "First";
2428
last = "Last";
2529
pin = "Pin";
30+
restore = "Restore";
2631
close = "Close";
32+
closeAllButCurrent = "CloseAllButCurrent";
33+
closeAllButVisible = "CloseAllButVisible";
34+
closeAllButPinned = "CloseAllButPinned";
35+
closeAllButCurrentOrPinned = "CloseAllButCurrentOrPinned";
36+
closeBuffersLeft = "CloseBuffersLeft";
37+
closeBuffersRight = "CloseBuffersRight";
38+
wipeout = "Wipeout";
2739
pick = "Pick";
40+
pickDelete = "PickDelete";
2841
orderByBufferNumber = "OrderByBufferNumber";
42+
orderByName = "OrderByName";
2943
orderByDirectory = "OrderByDirectory";
3044
orderByLanguage = "OrderByLanguage";
3145
orderByWindowNumber = "OrderByWindowNumber";

tests/test-sources/plugins/bufferlines/barbar.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
key = "<C-w>";
1515
options.desc = "Barbar close tab";
1616
};
17+
restore.key = "<C-S-t>";
1718
};
1819
};
1920
};

0 commit comments

Comments
 (0)