nixos-config/home-manager/modules/zellij/default.nix

720 lines
21 KiB
Nix
Raw Normal View History

2022-10-14 21:49:57 +02:00
{ pkgs, config, lib, ... }:
with lib;
let
cfg = config.eboskma.programs.zellij;
in
{
options.eboskma.programs.zellij = { enable = mkEnableOption "zellij"; };
config = mkIf (cfg.enable) {
programs.zellij = {
enable = true;
settings = {
theme = "dracula";
copy_command = "${pkgs.wl-clipboard}/bin/wl-copy";
scrollback_editor = "${config.eboskma.programs.emacs.package}/bin/emacsclient";
2022-10-25 09:40:32 +02:00
pane_frames = false;
2022-10-14 21:49:57 +02:00
keybinds = {
normal = [
{
2022-10-25 09:40:32 +02:00
unbind = [
{ Alt = "h"; }
{ Alt = "Left"; }
{ Alt = "l"; }
{ Alt = "Right"; }
{ Alt = "j"; }
{ Alt = "Down"; }
{ Alt = "k"; }
{ Alt = "Up"; }
{ Ctrl = "n"; }
{ Alt = "n"; }
{ Ctrl = "b"; }
];
2022-10-14 21:49:57 +02:00
}
{
action = [{ SwitchToMode = "Resize"; }];
2022-10-25 09:40:32 +02:00
key = [{ Ctrl = "m"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ SwitchToMode = "Tmux"; }];
2022-10-25 09:40:32 +02:00
key = [{ Ctrl = "a"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocusOrTab = "Left"; }];
key = [{ Alt = "h"; } { Alt = "Left"; }];
}
{
action = [{ MoveFocusOrTab = "Right"; }];
key = [{ Alt = "i"; } { Alt = "Right"; }];
}
{
action = [{ MoveFocus = "Down"; }];
key = [{ Alt = "n"; } { Alt = "Down"; }];
}
{
action = [{ MoveFocus = "Up"; }];
key = [{ Alt = "e"; } { Alt = "Up"; }];
}
{
2022-10-25 09:40:32 +02:00
action = [{ NewPane = null; }];
key = [{ Alt = "c"; }];
2022-10-14 21:49:57 +02:00
}
];
resize = [
{
2022-10-25 09:40:32 +02:00
unbind = [
{ Char = "h"; }
"Left"
{ Char = "l"; }
"Right"
{ Char = "j"; }
"Down"
{ Char = "k"; }
"Up"
{ Alt = "h"; }
{ Alt = "Left"; }
{ Alt = "l"; }
{ Alt = "Right"; }
{ Alt = "j"; }
{ Alt = "Down"; }
{ Alt = "k"; }
{ Alt = "Up"; }
];
2022-10-14 21:49:57 +02:00
}
{
action = [{ Resize = "Left"; }];
key = [{ Char = "h"; } "Left"];
}
{
action = [{ Resize = "Right"; }];
key = [{ Char = "i"; } "Right"];
}
{
2022-10-25 09:40:32 +02:00
action = [{ Resize = "Down"; }];
key = [{ Char = "n"; } "Down"];
2022-10-14 21:49:57 +02:00
}
{
2022-10-25 09:40:32 +02:00
action = [{ Resize = "Up"; }];
key = [{ Char = "e"; } "Up"];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocusOrTab = "Left"; }];
key = [{ Alt = "h"; } { Alt = "Left"; }];
}
{
action = [{ MoveFocusOrTab = "Right"; }];
key = [{ Alt = "i"; } { Alt = "Right"; }];
}
{
action = [{ MoveFocus = "Down"; }];
key = [{ Alt = "n"; } { Alt = "Down"; }];
}
{
action = [{ MoveFocus = "Up"; }];
key = [{ Alt = "e"; } { Alt = "Up"; }];
}
];
pane = [
{
2022-10-25 09:40:32 +02:00
unbind = [
{ Char = "h"; }
"Left"
{ Char = "l"; }
"Right"
{ Char = "j"; }
"Down"
{ Char = "k"; }
"Up"
{ Char = "n"; }
{ Alt = "h"; }
{ Alt = "Left"; }
{ Alt = "l"; }
{ Alt = "Right"; }
{ Alt = "j"; }
{ Alt = "Down"; }
{ Alt = "k"; }
{ Alt = "Up"; }
{ Char = "f"; }
{ Alt = "n"; }
{ Char = "c"; }
{ Ctrl = "n"; }
];
2022-10-14 21:49:57 +02:00
}
{
action = [{ SwitchToMode = "Resize"; }];
2022-10-25 09:40:32 +02:00
key = [{ Ctrl = "m"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocus = "Left"; }];
key = [{ Char = "h"; } "Left"];
}
{
action = [{ MoveFocus = "Right"; }];
key = [{ Char = "i"; } "Right"];
}
{
action = [{ MoveFocus = "Down"; }];
key = [{ Char = "n"; } "Down"];
}
{
action = [{ MoveFocus = "Up"; }];
key = [{ Char = "e"; } "Up"];
}
{
action = [{ NewPane = null; } { SwitchToMode = "Normal"; }];
key = [{ Char = "c"; }];
}
{
action = [ "TogglePaneFrames" { SwitchToMode = "Normal"; } ];
key = [{ Char = "z"; }];
}
{
action = [ "ToggleFloatingPanes" { SwitchToMode = "Normal"; } ];
key = [{ Char = "w"; }];
}
{
action = [ "TogglePaneEmbedOrFloating" { SwitchToMode = "Normal"; } ];
2022-10-25 09:40:32 +02:00
key = [{ Char = "f"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ NewPane = null; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "c"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocusOrTab = "Left"; }];
key = [{ Alt = "h"; } { Alt = "Left"; }];
}
{
action = [{ MoveFocusOrTab = "Right"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "i"; } { Alt = "Right"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocus = "Down"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "n"; } { Alt = "Down"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocus = "Up"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "e"; } { Alt = "Up"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ SwitchToMode = "RenamePane"; } { PaneNameInput = [ 0 ]; }];
2022-10-25 09:40:32 +02:00
key = [{ Char = "m"; }];
2022-10-14 21:49:57 +02:00
}
];
move = [
{
2022-10-25 09:40:32 +02:00
unbind = [
{ Char = "h"; }
"Left"
{ Char = "l"; }
"Right"
{ Char = "j"; }
"Down"
{ Char = "k"; }
"Up"
{ Alt = "h"; }
{ Alt = "Left"; }
{ Alt = "l"; }
{ Alt = "Right"; }
{ Alt = "j"; }
{ Alt = "Down"; }
{ Alt = "k"; }
{ Alt = "Up"; }
{ Alt = "n"; }
{ Char = "n"; }
{ Ctrl = "n"; }
];
2022-10-14 21:49:57 +02:00
}
{
action = [{ SwitchToMode = "Resize"; }];
2022-10-25 09:40:32 +02:00
key = [{ Ctrl = "m"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MovePane = null; }];
2022-10-25 09:40:32 +02:00
key = [{ Char = "c"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MovePane = "Left"; }];
key = [{ Char = "h"; } "Left"];
}
{
2022-10-25 09:40:32 +02:00
action = [{ MovePane = "Right"; }];
key = [{ Char = "i"; } "Right"];
2022-10-14 21:49:57 +02:00
}
{
2022-10-25 09:40:32 +02:00
action = [{ MovePane = "Down"; }];
key = [{ Char = "n"; } "Down"];
2022-10-14 21:49:57 +02:00
}
{
2022-10-25 09:40:32 +02:00
action = [{ MovePane = "Up"; }];
key = [{ Char = "e"; } "Up"];
2022-10-14 21:49:57 +02:00
}
{
action = [{ NewPane = null; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "c"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocusOrTab = "Left"; }];
key = [{ Alt = "h"; } { Alt = "Left"; }];
}
{
action = [{ MoveFocusOrTab = "Right"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "i"; } { Alt = "Right"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocus = "Down"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "n"; } { Alt = "Down"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocus = "Up"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "e"; } { Alt = "Up"; }];
2022-10-14 21:49:57 +02:00
}
];
tab = [
{
2022-10-25 09:40:32 +02:00
unbind = [
{ Char = "h"; }
"Left"
{ Char = "l"; }
"Right"
{ Char = "j"; }
"Down"
{ Char = "k"; }
"Up"
{ Alt = "h"; }
{ Alt = "Left"; }
{ Alt = "l"; }
{ Alt = "Right"; }
{ Alt = "j"; }
{ Alt = "Down"; }
{ Alt = "k"; }
{ Alt = "Up"; }
{ Char = "n"; }
{ Alt = "n"; }
{ Ctrl = "n"; }
];
2022-10-14 21:49:57 +02:00
}
{
action = [{ SwitchToMode = "Resize"; }];
2022-10-25 09:40:32 +02:00
key = [{ Ctrl = "m"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [ "GoToPreviousTab" ];
2022-10-25 09:40:32 +02:00
key = [{ Char = "h"; } "Left" "Up" { Char = "e"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [ "GoToNextTab" ];
2022-10-25 09:40:32 +02:00
key = [{ Char = "i"; } "Right" "Down" { Char = "n"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ NewTab = null; } { SwitchToMode = "Normal"; }];
2022-10-25 09:40:32 +02:00
key = [{ Char = "c"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ NewPane = null; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "c"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocusOrTab = "Left"; }];
key = [{ Alt = "h"; } { Alt = "Left"; }];
}
{
action = [{ MoveFocusOrTab = "Right"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "i"; } { Alt = "Right"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocus = "Down"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "n"; } { Alt = "Down"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocus = "Up"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "e"; } { Alt = "Up"; }];
2022-10-14 21:49:57 +02:00
}
];
scroll = [
{
2022-10-25 09:40:32 +02:00
unbind = [
{ Char = "h"; }
"Left"
{ Char = "l"; }
"Right"
{ Char = "j"; }
"Down"
{ Char = "k"; }
"Up"
{ Alt = "h"; }
{ Alt = "Left"; }
{ Alt = "l"; }
{ Alt = "Right"; }
{ Alt = "j"; }
{ Alt = "Down"; }
{ Alt = "k"; }
{ Alt = "Up"; }
{ Char = "e"; }
{ Ctrl = "n"; }
];
2022-10-14 21:49:57 +02:00
}
{
action = [{ SwitchToMode = "Resize"; }];
2022-10-25 09:40:32 +02:00
key = [{ Ctrl = "m"; }];
2022-10-14 21:49:57 +02:00
}
{
2022-10-25 09:40:32 +02:00
action = [ "EditScrollback" { SwitchToMode = "Normal"; } ];
key = [{ Char = "a"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [ "ScrollDown" ];
2022-10-25 09:40:32 +02:00
key = [{ Char = "n"; } "Down"];
2022-10-14 21:49:57 +02:00
}
{
action = [ "ScrollUp" ];
2022-10-25 09:40:32 +02:00
key = [{ Char = "e"; } "Up"];
2022-10-14 21:49:57 +02:00
}
{
action = [ "PageScrollDown" ];
2022-10-25 09:40:32 +02:00
key = [{ Ctrl = "f"; } "PageDown" "Right" { Char = "i"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [ "PageScrollUp" ];
key = [{ Ctrl = "b"; } "PageUp" "Left" { Char = "h"; }];
}
{
action = [{ NewPane = null; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "c"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocusOrTab = "Left"; }];
key = [{ Alt = "h"; } { Alt = "Left"; }];
}
{
action = [{ MoveFocusOrTab = "Right"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "i"; } { Alt = "Right"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocus = "Down"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "n"; } { Alt = "Down"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocus = "Up"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "e"; } { Alt = "Up"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ SwitchToMode = "EnterSearch"; } { SearchInput = [ 0 ]; }];
key = [{ Char = "s"; }];
}
];
entersearch = [
{
2022-10-25 09:40:32 +02:00
unbind = [
{ Char = "h"; }
"Left"
{ Char = "l"; }
"Right"
{ Char = "j"; }
"Down"
{ Char = "k"; }
"Up"
{ Alt = "h"; }
{ Alt = "Left"; }
{ Alt = "l"; }
{ Alt = "Right"; }
{ Alt = "j"; }
{ Alt = "Down"; }
{ Alt = "k"; }
{ Alt = "Up"; }
{ Char = "e"; }
{ Ctrl = "c"; }
{ Alt = "n"; }
];
2022-10-14 21:49:57 +02:00
}
{
action = [{ SearchInput = [ 27 ]; } { SwitchToMode = "Scroll"; }];
2022-10-25 09:40:32 +02:00
key = [{ Ctrl = "s"; } "Esc"];
2022-10-14 21:49:57 +02:00
}
{
action = [{ NewPane = null; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "c"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocusOrTab = "Left"; }];
key = [{ Alt = "h"; } { Alt = "Left"; }];
}
{
action = [{ MoveFocusOrTab = "Right"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "i"; } { Alt = "Right"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocus = "Down"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "n"; } { Alt = "Down"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocus = "Up"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "e"; } { Alt = "Up"; }];
2022-10-14 21:49:57 +02:00
}
];
search = [
{
2022-10-25 09:40:32 +02:00
unbind = [
{ Char = "h"; }
"Left"
{ Char = "l"; }
"Right"
{ Char = "j"; }
"Down"
{ Char = "k"; }
"Up"
{ Alt = "h"; }
{ Alt = "Left"; }
{ Alt = "l"; }
{ Alt = "Right"; }
{ Alt = "j"; }
{ Alt = "Down"; }
{ Alt = "k"; }
{ Alt = "Up"; }
{ Char = "e"; }
{ Ctrl = "c"; }
{ Alt = "n"; }
{ Ctrl = "n"; }
{ Char = "n"; }
{ Char = "p"; }
];
2022-10-14 21:49:57 +02:00
}
{
action = [{ SwitchToMode = "Resize"; }];
2022-10-25 09:40:32 +02:00
key = [{ Ctrl = "m"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [ "ScrollDown" ];
2022-10-25 09:40:32 +02:00
key = [{ Char = "n"; } "Down"];
2022-10-14 21:49:57 +02:00
}
{
action = [ "ScrollUp" ];
2022-10-25 09:40:32 +02:00
key = [{ Char = "e"; } "Up"];
2022-10-14 21:49:57 +02:00
}
{
action = [ "PageScrollDown" ];
2022-10-25 09:40:32 +02:00
key = [{ Ctrl = "f"; } "PageDown" "Right" { Char = "i"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [ "PageScrollUp" ];
key = [{ Ctrl = "b"; } "PageUp" "Left" { Char = "h"; }];
}
{
action = [{ NewPane = null; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "c"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocusOrTab = "Left"; }];
key = [{ Alt = "h"; } { Alt = "Left"; }];
}
{
action = [{ MoveFocusOrTab = "Right"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "i"; } { Alt = "Right"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocus = "Down"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "n"; } { Alt = "Down"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocus = "Up"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "e"; } { Alt = "Up"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ Search = "Down"; }];
2022-10-25 09:40:32 +02:00
key = [{ Char = "k"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ Search = "Up"; }];
2022-10-25 09:40:32 +02:00
key = [{ Char = "j"; }];
2022-10-14 21:49:57 +02:00
}
];
renametab = [
{
2022-10-25 09:40:32 +02:00
unbind = [
{ Alt = "h"; }
{ Alt = "Left"; }
{ Alt = "l"; }
{ Alt = "Right"; }
{ Alt = "j"; }
{ Alt = "Down"; }
{ Alt = "k"; }
{ Alt = "Up"; }
{ Alt = "n"; }
];
2022-10-14 21:49:57 +02:00
}
{
action = [{ NewPane = null; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "c"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocusOrTab = "Left"; }];
key = [{ Alt = "h"; } { Alt = "Left"; }];
}
{
action = [{ MoveFocusOrTab = "Right"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "i"; } { Alt = "Right"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocus = "Down"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "n"; } { Alt = "Down"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocus = "Up"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "e"; } { Alt = "Up"; }];
2022-10-14 21:49:57 +02:00
}
];
renamepane = [
{
2022-10-25 09:40:32 +02:00
unbind = [
{ Alt = "h"; }
{ Alt = "Left"; }
{ Alt = "l"; }
{ Alt = "Right"; }
{ Alt = "j"; }
{ Alt = "Down"; }
{ Alt = "k"; }
{ Alt = "Up"; }
{ Alt = "n"; }
];
2022-10-14 21:49:57 +02:00
}
{
action = [{ NewPane = null; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "c"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocusOrTab = "Left"; }];
key = [{ Alt = "h"; } { Alt = "Left"; }];
}
{
action = [{ MoveFocusOrTab = "Right"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "i"; } { Alt = "Right"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocus = "Down"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "n"; } { Alt = "Down"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocus = "Up"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "e"; } { Alt = "Up"; }];
2022-10-14 21:49:57 +02:00
}
];
session = [
{
2022-10-25 09:40:32 +02:00
unbind = [
{ Alt = "h"; }
{ Alt = "Left"; }
{ Alt = "l"; }
{ Alt = "Right"; }
{ Alt = "j"; }
{ Alt = "Down"; }
{ Alt = "k"; }
{ Alt = "Up"; }
{ Alt = "n"; }
{ Ctrl = "n"; }
];
2022-10-14 21:49:57 +02:00
}
{
action = [{ SwitchToMode = "Resize"; }];
2022-10-25 09:40:32 +02:00
key = [{ Ctrl = "m"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ NewPane = null; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "c"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocusOrTab = "Left"; }];
key = [{ Alt = "h"; } { Alt = "Left"; }];
}
{
action = [{ MoveFocusOrTab = "Right"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "i"; } { Alt = "Right"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocus = "Down"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "n"; } { Alt = "Down"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocus = "Up"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "e"; } { Alt = "Up"; }];
2022-10-14 21:49:57 +02:00
}
];
tmux = [
{
2022-10-25 09:40:32 +02:00
unbind = [
{ Char = "h"; }
"Left"
{ Char = "l"; }
"Right"
{ Char = "j"; }
"Down"
{ Char = "k"; }
"Up"
{ Alt = "h"; }
{ Alt = "Left"; }
{ Alt = "l"; }
{ Alt = "Right"; }
{ Alt = "j"; }
{ Alt = "Down"; }
{ Alt = "k"; }
{ Alt = "Up"; }
{ Alt = "n"; }
{ Ctrl = "n"; }
];
2022-10-14 21:49:57 +02:00
}
{
action = [{ SwitchToMode = "Resize"; }];
2022-10-25 09:40:32 +02:00
key = [{ Ctrl = "m"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocus = "Left"; } { SwitchToMode = "Normal"; }];
key = [{ Char = "h"; }];
}
{
action = [{ MoveFocus = "Right"; } { SwitchToMode = "Normal"; }];
2022-10-25 09:40:32 +02:00
key = [{ Char = "i"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocus = "Down"; } { SwitchToMode = "Normal"; }];
2022-10-25 09:40:32 +02:00
key = [{ Char = "n"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocus = "Up"; } { SwitchToMode = "Normal"; }];
2022-10-25 09:40:32 +02:00
key = [{ Char = "e"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ NewPane = null; }];
key = [{ Alt = "n"; }];
}
{
action = [{ MoveFocusOrTab = "Left"; }];
key = [{ Alt = "h"; } { Alt = "Left"; }];
}
{
action = [{ MoveFocusOrTab = "Right"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "i"; } { Alt = "Right"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocus = "Down"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "n"; } { Alt = "Down"; }];
2022-10-14 21:49:57 +02:00
}
{
action = [{ MoveFocus = "Up"; }];
2022-10-25 09:40:32 +02:00
key = [{ Alt = "e"; } { Alt = "Up"; }];
2022-10-14 21:49:57 +02:00
}
];
};
};
};
};
}