1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 23:00:39 +02:00

fix: alpha nixvim update

This commit is contained in:
oddlama 2024-01-30 18:08:22 +01:00
parent 530fe6e18c
commit 7a5505d393
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
2 changed files with 78 additions and 42 deletions

View file

@ -29,14 +29,50 @@
opts.spacing = 1;
val = [
{
command = ":enew<CR>";
desc = " New file";
shortcut = "e";
type = "button";
val = " New file";
on_press.__raw = "function() vim.cmd[[enew]] end";
opts = {
shortcut = "e";
position = "center";
hl_shortcut = "keyword";
align_shortcut = "right";
width = 50;
cursor = 3;
keymap = [
"n"
"e"
":enew<CR>"
{
noremap = true;
silent = true;
nowait = true;
}
];
};
}
{
command = ":qa<CR>";
desc = "󰅙 Quit Neovim";
shortcut = "q";
type = "button";
val = "󰅙 Quit Neovim";
on_press.__raw = "function() vim.cmd[[qa]] end";
opts = {
shortcut = "q";
position = "center";
hl_shortcut = "keyword";
align_shortcut = "right";
width = 50;
cursor = 3;
keymap = [
"n"
"q"
":qa<CR>"
{
noremap = true;
silent = true;
nowait = true;
}
];
};
}
];
}