diff --git a/zellij/config.kdl b/zellij/config.kdl index fa69c66..f975763 100644 --- a/zellij/config.kdl +++ b/zellij/config.kdl @@ -6,6 +6,12 @@ keybinds clear-defaults=true { locked { bind "`" { SwitchToMode "normal"; } } + normal { + bind "`" { + WriteChars "`"; + SwitchToMode "locked"; + } + } pane { bind "left" { MoveFocus "left"; } bind "down" { MoveFocus "down"; } @@ -160,10 +166,6 @@ keybinds clear-defaults=true { bind "Alt o" { MoveTab "right"; } } shared_except "locked" "renametab" "renamepane" { - bind "`" { - WriteChars "`"; - SwitchToMode "locked"; - } bind "Ctrl q" { Quit; } } shared_except "locked" "entersearch" { @@ -186,6 +188,14 @@ keybinds clear-defaults=true { } shared_among "normal" "resize" "tab" "scroll" "prompt" "tmux" { bind "p" { SwitchToMode "pane"; } + bind "/" { + LaunchOrFocusPlugin "file:~/.config/zellij/plugins/zellij_forgot.wasm" { + floating true + } + } + } + shared_except "normal" "locked" { + bind "`" { SwitchToMode "locked"; } } shared_except "locked" "resize" "pane" "tab" "entersearch" "renametab" "renamepane" { bind "r" { SwitchToMode "resize"; } @@ -244,47 +254,47 @@ plugins { // Plugins to load in the background when a new session starts load_plugins {} - + // Choose the theme that is specified in the themes section. // Default: default -// +// theme "solarized-dark" - + // Require a leader key before we run any commands. default_mode "locked" - + // Uncomment this when we're used enough to the keybinds. :) // default_layout "compact" - + // The folder in which Zellij will look for layouts // (Requires restart) -// +// // layout_dir "/tmp" - + // The folder in which Zellij will look for themes // (Requires restart) -// +// // theme_dir "/tmp" - + // Much scrollback. scroll_buffer_size 100000 - + // Keep pane contents if we resurrect a terminal. serialize_pane_viewport true - + // Use the above limit for serializtaion. scrollback_lines_to_serialize 0 - + // How often in seconds sessions are serialized -// +// // serialization_interval 10000 - + // Whether to show tips on startup // Default: true -// +// show_startup_tips true - + // Whether to show release notes on first version run // Default: true -// +// // show_release_notes false diff --git a/zellij/plugins/zellij_forgot.wasm b/zellij/plugins/zellij_forgot.wasm new file mode 100644 index 0000000..60d6eba Binary files /dev/null and b/zellij/plugins/zellij_forgot.wasm differ