diff options
author | max397574 <[email protected]> | 2021-10-06 15:33:33 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-10-06 15:33:33 +0200 |
commit | c9c01918e614484b49c6eb5d02499b289ce54376 (patch) | |
tree | 2b4fbba3fc2d9bfd4b414cae3bb442905c7821bf /lua/startup/config.lua | |
parent | 5f791209522895abd0ee9f951f8b8f4f2e8502b3 (diff) | |
parent | df57521572afd04e31b016a17c9328e0be4b61e6 (diff) |
Merge pull request #1 from tamton-aquib/master
structural changes
Diffstat (limited to 'lua/startup/config.lua')
-rw-r--r-- | lua/startup/config.lua | 39 |
1 files changed, 39 insertions, 0 deletions
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", "<leader>ff" }, + [" Find Word"] = { "Telescope live_grep", "<leader>lg" }, + [" Recent Files"] = { "Telescope oldfiles", "<leader>of" }, + [" File Browser"] = { "Telescope file_browser", "<leader>fb" }, + [" Config Files"] = { + 'lua require("telescope.builtin").find_files({cwd="~/.config"})', + "<leader>cf", + }, + [" Colorschemes"] = { "Telescope colorscheme", "<leader>cs" }, + [" New File"] = { "lua require'startup'.new_file()", "<leader>nf" }, + ["ﲉ Help Files"] = { "Telescope help_tags", "<leader>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 |