From 1571c84711eab63986ad7ccd1fccf649721bd988 Mon Sep 17 00:00:00 2001 From: max397574 Date: Tue, 19 Oct 2021 18:19:30 +0200 Subject: =?UTF-8?q?feat(themes):=20=E2=9C=A8added=20evil-startup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/startup/themes/evil_startup.lua | 80 +++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 lua/startup/themes/evil_startup.lua (limited to 'lua') diff --git a/lua/startup/themes/evil_startup.lua b/lua/startup/themes/evil_startup.lua new file mode 100644 index 0000000..d7c0ecb --- /dev/null +++ b/lua/startup/themes/evil_startup.lua @@ -0,0 +1,80 @@ +local header_content = {} +for _, line in ipairs(require("startup.buildingblocks.headers").hydra()) do + table.insert(header_content, line) +end + +for _, line in ipairs(require("startup.buildingblocks.functions").quote()) do + table.insert(header_content, line) +end +local settings = { + -- every line should be same width without escaped \ + header = { + type = "text", + align = "center", + margin = 5, + content = header_content, + highlight = "markdownH1", + default_color = "#FFFFFF", + command = "", + }, + -- name which will be displayed and command + body = { + type = "mapping", + align = "center", + section = true, + title = "Basic Commands", + margin = 5, + content = { + [" Find File"] = { "Telescope find_files", "ff" }, + [" Find Word"] = { "Telescope live_grep", "lg" }, + [" Recent Files"] = { "Telescope oldfiles", "of" }, + [" File Browser"] = { "Telescope file_browser", "fb" }, + [" Colorschemes"] = { "Telescope colorscheme", "cs" }, + [" New File"] = { "lua require'startup'.new_file()", "nf" }, + }, + highlight = "TSString", + default_color = "#FFFFFF", + command = "", + }, + body_2 = { + type = "oldfiles", + oldfiles_directory = true, + align = "center", + section = true, + title = "Oldfiles of Directory", + margin = 5, + content = {}, + highlight = "TSString", + default_color = "#FFFFFF", + command = "", + oldfiles_amount = 10, + }, + footer = { + type = "oldfiles", + oldfiles_directory = false, + align = "center", + section = true, + title = "Oldfiles", + margin = 5, + content = { "startup.nvim" }, + highlight = "TSString", + default_color = "#FFFFFF", + command = "", + oldfiles_amount = 10, + }, + + options = { + mapping_keys = true, + empty_lines_between_mappings = true, + oldfiles_amount = 5, + padding = { + header_body = 1, + body_footer = 1, + }, + }, + colors = { + background = "#1f2227", + }, + parts = { "header", "body", "body_2", "footer" }, +} +return settings -- cgit v1.2.3