Improve zellij config, still needs work.

Probably remove keybindings that are the same as the default.
This commit is contained in:
Erwin Boskma 2022-10-17 22:19:57 +02:00
parent 475f352254
commit 65653ce3f9
Signed by: erwin
GPG key ID: 270B20D17394F7E5

View file

@ -54,7 +54,7 @@ in
key = [{ Ctrl = "q"; }]; key = [{ Ctrl = "q"; }];
} }
{ {
action = [ "NewPane" ]; action = [{ NewPane = null; }];
key = [{ Alt = "n"; }]; key = [{ Alt = "n"; }];
} }
{ {
@ -86,9 +86,6 @@ in
key = [{ Alt = "-"; }]; key = [{ Alt = "-"; }];
} }
]; ];
locked = [ locked = [
{ {
action = [{ SwitchToMode = "Normal"; }]; action = [{ SwitchToMode = "Normal"; }];
@ -110,12 +107,18 @@ in
} }
{ {
action = [{ SwitchToMode = "Normal"; }]; action = [{ SwitchToMode = "Normal"; }];
key = [{ Ctrl = "n"; } key = [
{ {
Char = "\n"; Ctrl = "n";
} }
{ Char = " "; } {
"Esc"]; Char = "\\n";
}
{
Char = " ";
}
"Esc"
];
} }
{ {
action = [{ SwitchToMode = "Scroll"; }]; action = [{ SwitchToMode = "Scroll"; }];
@ -215,7 +218,7 @@ in
action = [{ SwitchToMode = "Normal"; }]; action = [{ SwitchToMode = "Normal"; }];
key = [{ Ctrl = "p"; } key = [{ Ctrl = "p"; }
{ {
Char = "\n"; Char = "\\n";
} }
{ Char = " "; } { Char = " "; }
"Esc"]; "Esc"];
@ -351,7 +354,7 @@ in
action = [{ SwitchToMode = "Normal"; }]; action = [{ SwitchToMode = "Normal"; }];
key = [{ Ctrl = "h"; } key = [{ Ctrl = "h"; }
{ {
Char = "\n"; Char = "\\n";
} }
{ Char = " "; } { Char = " "; }
"Esc"]; "Esc"];
@ -370,7 +373,7 @@ in
} }
{ {
action = [{ MovePane = null; }]; action = [{ MovePane = null; }];
key = [{ Char = "n"; } { Char = " "; }]; key = [{ Char = "n"; } { Char = "\"\\t\""; }];
} }
{ {
action = [{ MovePane = "Left"; }]; action = [{ MovePane = "Left"; }];
@ -439,7 +442,7 @@ in
action = [{ SwitchToMode = "Normal"; }]; action = [{ SwitchToMode = "Normal"; }];
key = [{ Ctrl = "t"; } key = [{ Ctrl = "t"; }
{ {
Char = "\n"; Char = "\\n";
} }
{ Char = " "; } { Char = " "; }
"Esc"]; "Esc"];
@ -526,7 +529,7 @@ in
} }
{ {
action = [ "ToggleTab" ]; action = [ "ToggleTab" ];
key = [{ Char = " "; }]; key = [{ Char = "\"\\t\""; }];
} }
{ {
action = [{ NewPane = null; }]; action = [{ NewPane = null; }];
@ -572,7 +575,7 @@ in
key = [{ Ctrl = "s"; } key = [{ Ctrl = "s"; }
{ Char = " "; } { Char = " "; }
{ {
Char = "\n"; Char = "\\n";
} }
"Esc"]; "Esc"];
} }
@ -678,7 +681,7 @@ in
{ {
action = [{ SwitchToMode = "Search"; }]; action = [{ SwitchToMode = "Search"; }];
key = [{ key = [{
Char = "\n"; Char = ''"\n"'';
}]; }];
} }
{ {
@ -725,7 +728,7 @@ in
key = [{ Ctrl = "s"; } key = [{ Ctrl = "s"; }
{ Char = " "; } { Char = " "; }
{ {
Char = "\n"; Char = "\\n";
} }
"Esc"]; "Esc"];
} }
@ -851,7 +854,7 @@ in
{ {
action = [{ SwitchToMode = "Normal"; }]; action = [{ SwitchToMode = "Normal"; }];
key = [{ key = [{
Char = "\n"; Char = "\\n";
} }
{ Ctrl = "c"; } { Ctrl = "c"; }
"Esc"]; "Esc"];
@ -898,7 +901,7 @@ in
{ {
action = [{ SwitchToMode = "Normal"; }]; action = [{ SwitchToMode = "Normal"; }];
key = [{ key = [{
Char = "\n"; Char = "\\n";
} }
{ Ctrl = "c"; } { Ctrl = "c"; }
"Esc"]; "Esc"];
@ -970,7 +973,7 @@ in
action = [{ SwitchToMode = "Normal"; }]; action = [{ SwitchToMode = "Normal"; }];
key = [{ Ctrl = "o"; } key = [{ Ctrl = "o"; }
{ {
Char = "\n"; Char = "\\n";
} }
{ Char = " "; } { Char = " "; }
"Esc"]; "Esc"];
@ -1046,7 +1049,7 @@ in
action = [{ SwitchToMode = "Normal"; }]; action = [{ SwitchToMode = "Normal"; }];
key = [{ Ctrl = "o"; } key = [{ Ctrl = "o"; }
{ {
Char = "\n"; Char = "\\n";
} }
{ Char = " "; } { Char = " "; }
"Esc"]; "Esc"];