From df57521572afd04e31b016a17c9328e0be4b61e6 Mon Sep 17 00:00:00 2001 From: tamton-aquib Date: Wed, 6 Oct 2021 18:55:51 +0530 Subject: structural changes --- lua/startup/config.lua | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 lua/startup/config.lua (limited to 'lua/startup/config.lua') diff --git a/lua/startup/config.lua b/lua/startup/config.lua new file mode 100644 index 0000000..13a5df0 --- /dev/null +++ b/lua/startup/config.lua @@ -0,0 +1,39 @@ +local settings = { + -- every line should be same width without escaped \ + header = { + " /$$ ", + " |__/ ", + " /$$$$$$$ /$$$$$$ /$$$$$$ /$$ /$$ /$$ /$$$$$$/$$$$ ", + "| $$__ $$ /$$__ $$ /$$__ $$| $$ /$$/| $$| $$_ $$_ $$", + "| $$ \\ $$| $$$$$$$$| $$ \\ $$ \\ $$/$$/ | $$| $$ \\ $$ \\ $$", + "| $$ | $$| $$_____/| $$ | $$ \\ $$$/ | $$| $$ | $$ | $$", + "| $$ | $$| $$$$$$$| $$$$$$/ \\ $/ | $$| $$ | $$ | $$", + "|__/ |__/ \\_______/ \\______/ \\_/ |__/|__/ |__/ |__/", + }, + -- name which will be displayed and command + tools = { + [" Find File"] = { "Telescope find_files", "ff" }, + [" Find Word"] = { "Telescope live_grep", "lg" }, + [" Recent Files"] = { "Telescope oldfiles", "of" }, + [" File Browser"] = { "Telescope file_browser", "fb" }, + [" Config Files"] = { + 'lua require("telescope.builtin").find_files({cwd="~/.config"})', + "cf", + }, + [" Colorschemes"] = { "Telescope colorscheme", "cs" }, + [" New File"] = { "lua require'startup'.new_file()", "nf" }, + ["ﲉ Help Files"] = { "Telescope help_tags", "fh" }, + }, + options = { + align = "center", -- center or padding + mapping_names = true, + padding = 5, -- only used if align padding + }, + colors = { + background = "#1f2227", + heading_fg = "#009900", + tools_fg = "#009900", + }, +} + +return settings -- cgit v1.2.3