diff --git a/plugins/utils/alpha.nix b/plugins/utils/alpha.nix index 0e7403b9..c3ed4132 100644 --- a/plugins/utils/alpha.nix +++ b/plugins/utils/alpha.nix @@ -104,14 +104,12 @@ in { type = "group"; val = [ { - shortcut = "e"; - desc = " New file"; - command = "ene "; + val = " New file"; + on_press.__raw = "function() vim.cmd[[ene]] end"; } { - shortcut = "SPC q"; - desc = " Quit Neovim"; - command = ":qa"; + val = " Quit Neovim"; + on_press.__raw = "function() vim.cmd[[qa]] end"; } ]; } diff --git a/tests/test-sources/plugins/utils/alpha.nix b/tests/test-sources/plugins/utils/alpha.nix index 31a48ddc..b47e8a37 100644 --- a/tests/test-sources/plugins/utils/alpha.nix +++ b/tests/test-sources/plugins/utils/alpha.nix @@ -46,14 +46,12 @@ type = "group"; val = [ { - shortcut = "e"; - desc = " New file"; - command = "ene "; + val = " New file"; + on_press.__raw = "function() vim.cmd[[ene]] end"; } { - shortcut = "SPC q"; - desc = " Quit Neovim"; - command = ":qa"; + val = " Quit Neovim"; + on_press.__raw = "function() vim.cmd[[qa]] end"; } ]; }