|
|
|
@ -34,43 +34,42 @@ local function button(sc, txt, keybind)
|
|
|
|
|
}
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
local options = {}
|
|
|
|
|
local options = {
|
|
|
|
|
|
|
|
|
|
local ascii = {
|
|
|
|
|
" ⣴⣶⣤⡤⠦⣤⣀⣤⠆ ⣈⣭⣿⣶⣿⣦⣼⣆ ",
|
|
|
|
|
" ⠉⠻⢿⣿⠿⣿⣿⣶⣦⠤⠄⡠⢾⣿⣿⡿⠋⠉⠉⠻⣿⣿⡛⣦ ",
|
|
|
|
|
" ⠈⢿⣿⣟⠦ ⣾⣿⣿⣷ ⠻⠿⢿⣿⣧⣄ ",
|
|
|
|
|
" ⣸⣿⣿⢧ ⢻⠻⣿⣿⣷⣄⣀⠄⠢⣀⡀⠈⠙⠿⠄ ",
|
|
|
|
|
" ⢠⣿⣿⣿⠈ ⣻⣿⣿⣿⣿⣿⣿⣿⣛⣳⣤⣀⣀ ",
|
|
|
|
|
" ⢠⣧⣶⣥⡤⢄ ⣸⣿⣿⠘ ⢀⣴⣿⣿⡿⠛⣿⣿⣧⠈⢿⠿⠟⠛⠻⠿⠄ ",
|
|
|
|
|
" ⣰⣿⣿⠛⠻⣿⣿⡦⢹⣿⣷ ⢊⣿⣿⡏ ⢸⣿⣿⡇ ⢀⣠⣄⣾⠄ ",
|
|
|
|
|
" ⣠⣿⠿⠛ ⢀⣿⣿⣷⠘⢿⣿⣦⡀ ⢸⢿⣿⣿⣄ ⣸⣿⣿⡇⣪⣿⡿⠿⣿⣷⡄ ",
|
|
|
|
|
" ⠙⠃ ⣼⣿⡟ ⠈⠻⣿⣿⣦⣌⡇⠻⣿⣿⣷⣿⣿⣿ ⣿⣿⡇ ⠛⠻⢷⣄ ",
|
|
|
|
|
" ⢻⣿⣿⣄ ⠈⠻⣿⣿⣿⣷⣿⣿⣿⣿⣿⡟ ⠫⢿⣿⡆ ",
|
|
|
|
|
" ⠻⣿⣿⣿⣿⣶⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⡟⢀⣀⣤⣾⡿⠃ ",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
options.header = {
|
|
|
|
|
type = "text",
|
|
|
|
|
val = ascii,
|
|
|
|
|
opts = {
|
|
|
|
|
position = "center",
|
|
|
|
|
hl = "AlphaHeader",
|
|
|
|
|
header = {
|
|
|
|
|
type = "text",
|
|
|
|
|
val = {
|
|
|
|
|
" ⣴⣶⣤⡤⠦⣤⣀⣤⠆ ⣈⣭⣿⣶⣿⣦⣼⣆ ",
|
|
|
|
|
" ⠉⠻⢿⣿⠿⣿⣿⣶⣦⠤⠄⡠⢾⣿⣿⡿⠋⠉⠉⠻⣿⣿⡛⣦ ",
|
|
|
|
|
" ⠈⢿⣿⣟⠦ ⣾⣿⣿⣷ ⠻⠿⢿⣿⣧⣄ ",
|
|
|
|
|
" ⣸⣿⣿⢧ ⢻⠻⣿⣿⣷⣄⣀⠄⠢⣀⡀⠈⠙⠿⠄ ",
|
|
|
|
|
" ⢠⣿⣿⣿⠈ ⣻⣿⣿⣿⣿⣿⣿⣿⣛⣳⣤⣀⣀ ",
|
|
|
|
|
" ⢠⣧⣶⣥⡤⢄ ⣸⣿⣿⠘ ⢀⣴⣿⣿⡿⠛⣿⣿⣧⠈⢿⠿⠟⠛⠻⠿⠄ ",
|
|
|
|
|
" ⣰⣿⣿⠛⠻⣿⣿⡦⢹⣿⣷ ⢊⣿⣿⡏ ⢸⣿⣿⡇ ⢀⣠⣄⣾⠄ ",
|
|
|
|
|
" ⣠⣿⠿⠛ ⢀⣿⣿⣷⠘⢿⣿⣦⡀ ⢸⢿⣿⣿⣄ ⣸⣿⣿⡇⣪⣿⡿⠿⣿⣷⡄ ",
|
|
|
|
|
" ⠙⠃ ⣼⣿⡟ ⠈⠻⣿⣿⣦⣌⡇⠻⣿⣿⣷⣿⣿⣿ ⣿⣿⡇ ⠛⠻⢷⣄ ",
|
|
|
|
|
" ⢻⣿⣿⣄ ⠈⠻⣿⣿⣿⣷⣿⣿⣿⣿⣿⡟ ⠫⢿⣿⡆ ",
|
|
|
|
|
" ⠻⣿⣿⣿⣿⣶⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⡟⢀⣀⣤⣾⡿⠃ ",
|
|
|
|
|
},
|
|
|
|
|
opts = {
|
|
|
|
|
position = "center",
|
|
|
|
|
hl = "AlphaHeader",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
options.buttons = {
|
|
|
|
|
type = "group",
|
|
|
|
|
val = {
|
|
|
|
|
button("SPC f f", " Find File ", ":Telescope find_files<CR>"),
|
|
|
|
|
button("SPC f o", " Recent File ", ":Telescope oldfiles<CR>"),
|
|
|
|
|
button("SPC f w", " Find Word ", ":Telescope live_grep<CR>"),
|
|
|
|
|
button("SPC b m", " Bookmarks ", ":Telescope marks<CR>"),
|
|
|
|
|
button("SPC t h", " Themes ", ":Telescope themes<CR>"),
|
|
|
|
|
button("SPC e s", " Settings", ":e $MYVIMRC | :cd %:p:h <CR>"),
|
|
|
|
|
},
|
|
|
|
|
opts = {
|
|
|
|
|
spacing = 1,
|
|
|
|
|
buttons = {
|
|
|
|
|
type = "group",
|
|
|
|
|
val = {
|
|
|
|
|
button("SPC f f", " Find File ", ":Telescope find_files<CR>"),
|
|
|
|
|
button("SPC f o", " Recent File ", ":Telescope oldfiles<CR>"),
|
|
|
|
|
button("SPC f w", " Find Word ", ":Telescope live_grep<CR>"),
|
|
|
|
|
button("SPC b m", " Bookmarks ", ":Telescope marks<CR>"),
|
|
|
|
|
button("SPC t h", " Themes ", ":Telescope themes<CR>"),
|
|
|
|
|
button("SPC e s", " Settings", ":e $MYVIMRC | :cd %:p:h <CR>"),
|
|
|
|
|
},
|
|
|
|
|
opts = {
|
|
|
|
|
spacing = 1,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|