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:
parent
530fe6e18c
commit
7a5505d393
2 changed files with 78 additions and 42 deletions
|
@ -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;
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue