This commit is contained in:
Leon Schwarzäugl 2025-11-18 17:08:23 +01:00 committed by Leon Schwarzäugl
parent 6abf5ce39b
commit 46f2ec8b96
4 changed files with 124 additions and 358 deletions

View file

@ -18,6 +18,12 @@
pane = {
_children = [
{
bind = {
_args = [ "Ctrl p" ];
_children = [{ SwitchToMode._args = [ "normal" ]; }];
};
}
{
bind = {
_args = [ "left" ];
@ -44,11 +50,26 @@
}
{
bind = {
_args = [ "c" ];
_children = [
{ SwitchToMode._args = [ "renamepane" ]; }
{ PaneNameInput._args = [ 0 ]; }
];
_args = [ "h" ];
_children = [{ MoveFocus._args = [ "left" ]; }];
};
}
{
bind = {
_args = [ "j" ];
_children = [{ MoveFocus._args = [ "down" ]; }];
};
}
{
bind = {
_args = [ "k" ];
_children = [{ MoveFocus._args = [ "up" ]; }];
};
}
{
bind = {
_args = [ "l" ];
_children = [{ MoveFocus._args = [ "right" ]; }];
};
}
{
@ -78,30 +99,6 @@
];
};
}
{
bind = {
_args = [ "h" ];
_children = [{ MoveFocus._args = [ "left" ]; }];
};
}
{
bind = {
_args = [ "j" ];
_children = [{ MoveFocus._args = [ "down" ]; }];
};
}
{
bind = {
_args = [ "k" ];
_children = [{ MoveFocus._args = [ "up" ]; }];
};
}
{
bind = {
_args = [ "l" ];
_children = [{ MoveFocus._args = [ "right" ]; }];
};
}
{
bind = {
_args = [ "n" ];
@ -119,42 +116,24 @@
}
{
bind = {
_args = [ "Ctrl p" ];
_children = [{ SwitchToMode._args = [ "normal" ]; }];
};
}
{
bind = {
_args = [ "r" ];
_children = [
{ NewPane._args = [ "right" ]; }
{ SwitchToMode._args = [ "normal" ]; }
];
};
}
{
bind = {
_args = [ "w" ];
_args = [ "f12" ];
_children = [
{ ToggleFloatingPanes = { }; }
{ SwitchToMode._args = [ "normal" ]; }
];
};
}
{
bind = {
_args = [ "z" ];
_children = [
{ TogglePaneFrames = { }; }
{ SwitchToMode._args = [ "normal" ]; }
];
};
}
];
};
tab = {
_children = [
{
bind = {
_args = [ "Ctrl t" ];
_children = [{ SwitchToMode._args = [ "normal" ]; }];
};
}
{
bind = {
_args = [ "left" ];
@ -260,33 +239,6 @@
];
};
}
{
bind = {
_args = [ "[" ];
_children = [
{ BreakPaneLeft = { }; }
{ SwitchToMode._args = [ "normal" ]; }
];
};
}
{
bind = {
_args = [ "]" ];
_children = [
{ BreakPaneRight = { }; }
{ SwitchToMode._args = [ "normal" ]; }
];
};
}
{
bind = {
_args = [ "b" ];
_children = [
{ BreakPane = { }; }
{ SwitchToMode._args = [ "normal" ]; }
];
};
}
{
bind = {
_args = [ "h" ];
@ -338,12 +290,6 @@
];
};
}
{
bind = {
_args = [ "Ctrl t" ];
_children = [{ SwitchToMode._args = [ "normal" ]; }];
};
}
{
bind = {
_args = [ "x" ];
@ -353,17 +299,17 @@
];
};
}
{
bind = {
_args = [ "tab" ];
_children = [{ ToggleTab = { }; }];
};
}
];
};
resize = {
_children = [
{
bind = {
_args = [ "Ctrl n" ];
_children = [{ SwitchToMode._args = [ "normal" ]; }];
};
}
{
bind = {
_args = [ "left" ];
@ -454,17 +400,17 @@
_children = [{ Resize._args = [ "Increase right" ]; }];
};
}
{
bind = {
_args = [ "Ctrl n" ];
_children = [{ SwitchToMode._args = [ "normal" ]; }];
};
}
];
};
move = {
_children = [
{
bind = {
_args = [ "Ctrl h" ];
_children = [{ SwitchToMode._args = [ "normal" ]; }];
};
}
{
bind = {
_args = [ "left" ];
@ -495,12 +441,6 @@
_children = [{ MovePane._args = [ "left" ]; }];
};
}
{
bind = {
_args = [ "Ctrl h" ];
_children = [{ SwitchToMode._args = [ "normal" ]; }];
};
}
{
bind = {
_args = [ "j" ];
@ -519,24 +459,6 @@
_children = [{ MovePane._args = [ "right" ]; }];
};
}
{
bind = {
_args = [ "n" ];
_children = [{ MovePane = { }; }];
};
}
{
bind = {
_args = [ "p" ];
_children = [{ MovePaneBackwards = { }; }];
};
}
{
bind = {
_args = [ "tab" ];
_children = [{ MovePane = { }; }];
};
}
];
};
@ -600,6 +522,12 @@
session = {
_children = [
{
bind = {
_args = [ "Ctrl o" ];
_children = [{ SwitchToMode._args = [ "normal" ]; }];
};
}
{
bind = {
_args = [ "c" ];
@ -615,12 +543,6 @@
];
};
}
{
bind = {
_args = [ "Ctrl o" ];
_children = [{ SwitchToMode._args = [ "normal" ]; }];
};
}
{
bind = {
_args = [ "p" ];
@ -698,18 +620,6 @@
_children = [{ Resize._args = [ "Increase" ]; }];
};
}
{
bind = {
_args = [ "Alt [" ];
_children = [{ PreviousSwapLayout = { }; }];
};
}
{
bind = {
_args = [ "Alt ]" ];
_children = [{ NextSwapLayout = { }; }];
};
}
{
bind = {
_args = [ "Alt f" ];
@ -748,26 +658,14 @@
}
{
bind = {
_args = [ "Alt l" ];
_children = [{ MoveFocusOrTab._args = [ "right" ]; }];
};
}
{
bind = {
_args = [ "Alt n" ];
_args = [ "Alt p" ];
_children = [{ NewPane = { }; }];
};
}
{
bind = {
_args = [ "Alt o" ];
_children = [{ MoveTab._args = [ "right" ]; }];
};
}
{
bind = {
_args = [ "Ctrl q" ];
_children = [{ Quit = { }; }];
_args = [ "Alt n" ];
_children = [{ NewTab = { }; }];
};
}
];