forked from Shinonome/fred-neovim
dashboard set for future
This commit is contained in:
+176
-174
@@ -2,180 +2,182 @@
|
|||||||
plugins = {
|
plugins = {
|
||||||
alpha = {
|
alpha = {
|
||||||
enable = true;
|
enable = true;
|
||||||
layout = [
|
settings = {
|
||||||
{
|
layout = [
|
||||||
type = "padding";
|
{
|
||||||
val = 2;
|
type = "padding";
|
||||||
}
|
val = 2;
|
||||||
{
|
}
|
||||||
type = "text";
|
{
|
||||||
val = [
|
type = "text";
|
||||||
"███╗ ██╗██╗██╗ ██╗ ██████╗ ██╗ ██╗██╗███╗ ███╗"
|
val = [
|
||||||
"████╗ ██║██║╚██╗██╔╝██╔═══██╗██║ ██║██║████╗ ████║"
|
"███╗ ██╗██╗██╗ ██╗ ██████╗ ██╗ ██╗██╗███╗ ███╗"
|
||||||
"██╔██╗ ██║██║ ╚███╔╝ ██║ ██║██║ ██║██║██╔████╔██║"
|
"████╗ ██║██║╚██╗██╔╝██╔═══██╗██║ ██║██║████╗ ████║"
|
||||||
"██║╚██╗██║██║ ██╔██╗ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║"
|
"██╔██╗ ██║██║ ╚███╔╝ ██║ ██║██║ ██║██║██╔████╔██║"
|
||||||
"██║ ╚████║██║██╔╝ ██╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║"
|
"██║╚██╗██║██║ ██╔██╗ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║"
|
||||||
"╚═╝ ╚═══╝╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝"
|
"██║ ╚████║██║██╔╝ ██╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║"
|
||||||
];
|
"╚═╝ ╚═══╝╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝"
|
||||||
opts = {
|
];
|
||||||
position = "center";
|
opts = {
|
||||||
hl = "Type";
|
position = "center";
|
||||||
};
|
hl = "Type";
|
||||||
}
|
};
|
||||||
{
|
}
|
||||||
type = "text";
|
{
|
||||||
val = [" "];
|
type = "text";
|
||||||
}
|
val = [" "];
|
||||||
{
|
}
|
||||||
type = "padding";
|
{
|
||||||
val = 1;
|
type = "padding";
|
||||||
}
|
val = 1;
|
||||||
{
|
}
|
||||||
type = "text";
|
{
|
||||||
val = [
|
type = "text";
|
||||||
"╔════════════════════════════╗"
|
val = [
|
||||||
"║ ...better than most IDEs! ║"
|
"╔════════════════════════════╗"
|
||||||
"╚════════════════════════════╝"
|
"║ ...better than most IDEs! ║"
|
||||||
];
|
"╚════════════════════════════╝"
|
||||||
opts = {
|
];
|
||||||
position = "center";
|
opts = {
|
||||||
};
|
position = "center";
|
||||||
}
|
};
|
||||||
{
|
}
|
||||||
type = "padding";
|
{
|
||||||
val = 4;
|
type = "padding";
|
||||||
}
|
val = 4;
|
||||||
{
|
}
|
||||||
type = "group";
|
{
|
||||||
val = [
|
type = "group";
|
||||||
{
|
val = [
|
||||||
type = "button";
|
{
|
||||||
val = " New File ";
|
type = "button";
|
||||||
on_press.__raw = "function() vim.cmd[[ene]] end";
|
val = " New File ";
|
||||||
opts = {
|
on_press.__raw = "function() vim.cmd[[ene]] end";
|
||||||
shortcut = "n";
|
opts = {
|
||||||
keymap = [
|
shortcut = "n";
|
||||||
"n"
|
keymap = [
|
||||||
"n"
|
"n"
|
||||||
"<cmd>ene<CR>"
|
"n"
|
||||||
{
|
"<cmd>ene<CR>"
|
||||||
noremap = true;
|
{
|
||||||
silent = true;
|
noremap = true;
|
||||||
nowait = true;
|
silent = true;
|
||||||
}
|
nowait = true;
|
||||||
];
|
}
|
||||||
position = "center";
|
];
|
||||||
width = 50;
|
position = "center";
|
||||||
align_shortcut = "right";
|
width = 50;
|
||||||
hl_shortcut = "Keyword";
|
align_shortcut = "right";
|
||||||
};
|
hl_shortcut = "Keyword";
|
||||||
}
|
};
|
||||||
{
|
}
|
||||||
type = "padding";
|
{
|
||||||
val = 1;
|
type = "padding";
|
||||||
}
|
val = 1;
|
||||||
{
|
}
|
||||||
type = "button";
|
{
|
||||||
val = " Find File ";
|
type = "button";
|
||||||
opts = {
|
val = " Find File ";
|
||||||
shortcut = "f";
|
opts = {
|
||||||
keymap = [
|
shortcut = "f";
|
||||||
"n"
|
keymap = [
|
||||||
"f"
|
"n"
|
||||||
"<cmd>lua require('fzf-lua').files({ cwd = vim.loop.cwd() })<CR>"
|
"f"
|
||||||
{
|
"<cmd>lua require('fzf-lua').files({ cwd = vim.loop.cwd() })<CR>"
|
||||||
noremap = true;
|
{
|
||||||
silent = true;
|
noremap = true;
|
||||||
nowait = true;
|
silent = true;
|
||||||
}
|
nowait = true;
|
||||||
];
|
}
|
||||||
position = "center";
|
];
|
||||||
width = 50;
|
position = "center";
|
||||||
align_shortcut = "right";
|
width = 50;
|
||||||
hl_shortcut = "Keyword";
|
align_shortcut = "right";
|
||||||
};
|
hl_shortcut = "Keyword";
|
||||||
}
|
};
|
||||||
{
|
}
|
||||||
type = "padding";
|
{
|
||||||
val = 1;
|
type = "padding";
|
||||||
}
|
val = 1;
|
||||||
{
|
}
|
||||||
type = "button";
|
{
|
||||||
val = " Recent Files ";
|
type = "button";
|
||||||
on_press.__raw = "function() require('telescope.builtin').oldfiles() end";
|
val = " Recent Files ";
|
||||||
opts = {
|
on_press.__raw = "function() require('telescope.builtin').oldfiles() end";
|
||||||
shortcut = "r";
|
opts = {
|
||||||
keymap = [
|
shortcut = "r";
|
||||||
"n"
|
keymap = [
|
||||||
"r"
|
"n"
|
||||||
"<cmd>lua require('fzf-lua').oldfiles({ cwd = vim.loop.cwd() })<CR>"
|
"r"
|
||||||
{
|
"<cmd>lua require('fzf-lua').oldfiles({ cwd = vim.loop.cwd() })<CR>"
|
||||||
noremap = true;
|
{
|
||||||
silent = true;
|
noremap = true;
|
||||||
nowait = true;
|
silent = true;
|
||||||
}
|
nowait = true;
|
||||||
];
|
}
|
||||||
position = "center";
|
];
|
||||||
width = 50;
|
position = "center";
|
||||||
align_shortcut = "right";
|
width = 50;
|
||||||
hl_shortcut = "Keyword";
|
align_shortcut = "right";
|
||||||
};
|
hl_shortcut = "Keyword";
|
||||||
}
|
};
|
||||||
{
|
}
|
||||||
type = "padding";
|
{
|
||||||
val = 1;
|
type = "padding";
|
||||||
}
|
val = 1;
|
||||||
{
|
}
|
||||||
type = "button";
|
{
|
||||||
val = " Find Text ";
|
type = "button";
|
||||||
on_press.__raw = "function() require('telescope.builtin').live_grep() end";
|
val = " Find Text ";
|
||||||
opts = {
|
on_press.__raw = "function() require('telescope.builtin').live_grep() end";
|
||||||
shortcut = "g";
|
opts = {
|
||||||
keymap = [
|
shortcut = "g";
|
||||||
"n"
|
keymap = [
|
||||||
"g"
|
"n"
|
||||||
"<cmd>lua require('fzf-lua').live_grep()<CR>"
|
"g"
|
||||||
{
|
"<cmd>lua require('fzf-lua').live_grep()<CR>"
|
||||||
noremap = true;
|
{
|
||||||
silent = true;
|
noremap = true;
|
||||||
nowait = true;
|
silent = true;
|
||||||
}
|
nowait = true;
|
||||||
];
|
}
|
||||||
position = "center";
|
];
|
||||||
width = 50;
|
position = "center";
|
||||||
align_shortcut = "right";
|
width = 50;
|
||||||
hl_shortcut = "Keyword";
|
align_shortcut = "right";
|
||||||
};
|
hl_shortcut = "Keyword";
|
||||||
}
|
};
|
||||||
{
|
}
|
||||||
type = "padding";
|
{
|
||||||
val = 1;
|
type = "padding";
|
||||||
}
|
val = 1;
|
||||||
{
|
}
|
||||||
type = "button";
|
{
|
||||||
val = " Quit Neovim ";
|
type = "button";
|
||||||
on_press.__raw = "function() vim.cmd[[qa]] end";
|
val = " Quit Neovim ";
|
||||||
opts = {
|
on_press.__raw = "function() vim.cmd[[qa]] end";
|
||||||
shortcut = "q";
|
opts = {
|
||||||
keymap = [
|
shortcut = "q";
|
||||||
"n"
|
keymap = [
|
||||||
"q"
|
"n"
|
||||||
"<cmd>qa<CR>"
|
"q"
|
||||||
{
|
"<cmd>qa<CR>"
|
||||||
noremap = true;
|
{
|
||||||
silent = true;
|
noremap = true;
|
||||||
nowait = true;
|
silent = true;
|
||||||
}
|
nowait = true;
|
||||||
];
|
}
|
||||||
position = "center";
|
];
|
||||||
width = 50;
|
position = "center";
|
||||||
align_shortcut = "right";
|
width = 50;
|
||||||
hl_shortcut = "Keyword";
|
align_shortcut = "right";
|
||||||
};
|
hl_shortcut = "Keyword";
|
||||||
}
|
};
|
||||||
];
|
}
|
||||||
}
|
];
|
||||||
];
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user