mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 00:48:58 +02:00
plugins/alpha: fix example
This commit is contained in:
parent
e6f1af2767
commit
ec00c47ddf
2 changed files with 8 additions and 12 deletions
|
@ -104,14 +104,12 @@ in {
|
|||
type = "group";
|
||||
val = [
|
||||
{
|
||||
shortcut = "e";
|
||||
desc = " New file";
|
||||
command = "<CMD>ene <CR>";
|
||||
val = " New file";
|
||||
on_press.__raw = "function() vim.cmd[[ene]] end";
|
||||
}
|
||||
{
|
||||
shortcut = "SPC q";
|
||||
desc = " Quit Neovim";
|
||||
command = ":qa<CR>";
|
||||
val = " Quit Neovim";
|
||||
on_press.__raw = "function() vim.cmd[[qa]] end";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
@ -46,14 +46,12 @@
|
|||
type = "group";
|
||||
val = [
|
||||
{
|
||||
shortcut = "e";
|
||||
desc = " New file";
|
||||
command = "<CMD>ene <CR>";
|
||||
val = " New file";
|
||||
on_press.__raw = "function() vim.cmd[[ene]] end";
|
||||
}
|
||||
{
|
||||
shortcut = "SPC q";
|
||||
desc = " Quit Neovim";
|
||||
command = ":qa<CR>";
|
||||
val = " Quit Neovim";
|
||||
on_press.__raw = "function() vim.cmd[[qa]] end";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue