83 lines
3.5 KiB
Lua
83 lines
3.5 KiB
Lua
local settings = {
|
|
-- every line should be same width without escaped \
|
|
header = {
|
|
type = "text",
|
|
oldfiles_directory = false,
|
|
align = "center",
|
|
fold_section = false,
|
|
title = "Header",
|
|
margin = 5,
|
|
content = {
|
|
"▓█████▄ ▓█████ ▄▄▄ ▓█████▄ ███▄ █ ██▒ █▓ ██▓ ███▄ ▄███▓ ",
|
|
"▒██▀ ██▌▓█ ▀▒████▄ ▒██▀ ██▌ ██ ▀█ █▓██░ █▒▓██▒▓██▒▀█▀ ██▒ ",
|
|
"░██ █▌▒███ ▒██ ▀█▄ ░██ █▌▓██ ▀█ ██▒▓██ █▒░▒██▒▓██ ▓██░ ",
|
|
"░▓█▄ ▌▒▓█ ▄░██▄▄▄▄██ ░▓█▄ ▌▓██▒ ▐▌██▒ ▒██ █░░░██░▒██ ▒██ ",
|
|
"░▒████▓ ░▒████▒▓█ ▓██▒░▒████▓ ▒██░ ▓██░ ▒▀█░ ░██░▒██▒ ░██▒ ",
|
|
" ▒▒▓ ▒ ░░ ▒░ ░▒▒ ▓▒█░ ▒▒▓ ▒ ░ ▒░ ▒ ▒ ░ ▐░ ░▓ ░ ▒░ ░ ░ ",
|
|
" ░ ▒ ▒ ░ ░ ░ ▒ ▒▒ ░ ░ ▒ ▒ ░ ░░ ░ ▒░ ░ ░░ ▒ ░░ ░ ░ ",
|
|
" ░ ░ ░ ░ ░ ▒ ░ ░ ░ ░ ░ ░ ░░ ▒ ░░ ░ ",
|
|
" ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ",
|
|
" ░ ░ ░ ",
|
|
},
|
|
highlight = "Statement",
|
|
default_color = "#B71F34",
|
|
oldfiles_amount = 0,
|
|
},
|
|
-- name which will be displayed and command
|
|
body = {
|
|
type = "mapping",
|
|
oldfiles_directory = false,
|
|
align = "center",
|
|
fold_section = false,
|
|
title = "Basic Commands",
|
|
margin = 5,
|
|
content = {
|
|
{ " Find File", "Telescope find_files", "<leader>ff" },
|
|
{ " Find Word", "Telescope live_grep", "<leader>lg" },
|
|
{ " Recent Files", "Telescope oldfiles", "<leader>of" },
|
|
{ " File Browser", "Telescope file_browser", "<leader>fb" },
|
|
{ " Colorschemes", "Telescope colorscheme", "<leader>cs" },
|
|
{ " New File", "lua require'startup'.new_file()", "<leader>nf" },
|
|
},
|
|
highlight = "String",
|
|
default_color = "#8CA1A5",
|
|
oldfiles_amount = 0,
|
|
},
|
|
clock = {
|
|
type = "text",
|
|
content = function()
|
|
local clock = " " .. os.date("%H:%M")
|
|
local date = " " .. os.date("%d-%m-%y")
|
|
return { clock, date }
|
|
end,
|
|
oldfiles_directory = false,
|
|
align = "center",
|
|
fold_section = false,
|
|
title = "",
|
|
margin = 5,
|
|
highlight = "TSString",
|
|
default_color = "#C678DD",
|
|
oldfiles_amount = 10,
|
|
},
|
|
|
|
options = {
|
|
mapping_keys = true,
|
|
cursor_column = 0.5,
|
|
empty_lines_between_mappings = true,
|
|
disable_statuslines = true,
|
|
paddings = { 1, 3, 3, 0 },
|
|
},
|
|
mappings = {
|
|
execute_command = "<CR>",
|
|
open_file = "o",
|
|
open_file_split = "<c-o>",
|
|
open_section = "<TAB>",
|
|
open_help = "?",
|
|
},
|
|
colors = {
|
|
background = "#1A2026",
|
|
folded_section = "#36424F",
|
|
},
|
|
parts = { "header", "body", "clock" },
|
|
}
|
|
return settings
|