From 21273ac95a2fed6b07d8550fe2d4f65993be7037 Mon Sep 17 00:00:00 2001 From: Aram Drevekenin Date: Mon, 26 Feb 2024 15:30:15 +0100 Subject: feat(plugins): introduce plugin aliases (#3157) * working prototype with passing tests * new tests and passing plugin tests as well * style(code): cleanups * cleanup strider from unused search feature * prototype of removing old plugin block from the config * aliases working from config file and all tests passing * fixups and cleanups * use aliases in layouts * update test snapshot * style(fmt): rustfmt --- zellij-utils/assets/config/default.kdl | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'zellij-utils/assets/config/default.kdl') diff --git a/zellij-utils/assets/config/default.kdl b/zellij-utils/assets/config/default.kdl index f8dc9a756..c8e61bf43 100644 --- a/zellij-utils/assets/config/default.kdl +++ b/zellij-utils/assets/config/default.kdl @@ -186,11 +186,15 @@ keybinds { } plugins { - tab-bar { path "tab-bar"; } - status-bar { path "status-bar"; } - strider { path "strider"; } - compact-bar { path "compact-bar"; } - session-manager { path "session-manager"; } + tab-bar location="zellij:tab-bar" + status-bar location="zellij:status-bar" + strider location="zellij:strider" + compact-bar location="zellij:compact-bar" + session-manager location="zellij:session-manager" + welcome-screen location="zellij:session-manager" { + welcome_screen true + } + filepicker location="zellij:strider" } // Choose what to do when zellij receives SIGTERM, SIGINT, SIGQUIT or SIGHUP -- cgit v1.2.3