This commit is contained in:
albert 2024-02-19 22:34:46 +09:00
parent e345c0e155
commit f41ef46189
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A

View file

@ -9,12 +9,12 @@
{ {
type = "text"; type = "text";
val = [ val = [
" " " "
" " " "
" " " "
" " " "
" " " "
" " " "
]; ];
opts = { opts = {
position = "center"; position = "center";
@ -29,16 +29,14 @@
type = "group"; type = "group";
val = [ val = [
{ {
type = "button"; shortcut = "e";
val = " New file"; desc = " New file";
on_press.__raw = "function() vim.cmd[[ene]] end"; command = "<CMD>ene <CR>";
opts.shortcut = "n";
} }
{ {
type = "button"; shortcut = "SPC q";
val = " Quit Neovim"; desc = " Quit Neovim";
on_press.__raw = "function() vim.cmd[[qa]] end"; command = ":qa<CR>";
opts.shortcut = "q";
} }
]; ];
} }