mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 08:53:28 +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";
|
type = "group";
|
||||||
val = [
|
val = [
|
||||||
{
|
{
|
||||||
shortcut = "e";
|
val = " New file";
|
||||||
desc = " New file";
|
on_press.__raw = "function() vim.cmd[[ene]] end";
|
||||||
command = "<CMD>ene <CR>";
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
shortcut = "SPC q";
|
val = " Quit Neovim";
|
||||||
desc = " Quit Neovim";
|
on_press.__raw = "function() vim.cmd[[qa]] end";
|
||||||
command = ":qa<CR>";
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,14 +46,12 @@
|
||||||
type = "group";
|
type = "group";
|
||||||
val = [
|
val = [
|
||||||
{
|
{
|
||||||
shortcut = "e";
|
val = " New file";
|
||||||
desc = " New file";
|
on_press.__raw = "function() vim.cmd[[ene]] end";
|
||||||
command = "<CMD>ene <CR>";
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
shortcut = "SPC q";
|
val = " Quit Neovim";
|
||||||
desc = " Quit Neovim";
|
on_press.__raw = "function() vim.cmd[[qa]] end";
|
||||||
command = ":qa<CR>";
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue