From a92dabd3e97a7bea6e393e6b5733613dcfdcc9c2 Mon Sep 17 00:00:00 2001 From: max397574 Date: Thu, 7 Oct 2021 11:27:32 +0200 Subject: =?UTF-8?q?feat(plugin):=20=E2=9C=A8new=20settings=20structure?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/startup/config.lua | 42 +----------------------------------------- 1 file changed, 1 insertion(+), 41 deletions(-) (limited to 'lua/startup/config.lua') diff --git a/lua/startup/config.lua b/lua/startup/config.lua index 3a38f9c..8508de5 100644 --- a/lua/startup/config.lua +++ b/lua/startup/config.lua @@ -1,43 +1,3 @@ -local settings = { - -- every line should be same width without escaped \ - -- header = { - -- " /$$ ", - -- " |__/ ", - -- " /$$$$$$$ /$$$$$$ /$$$$$$ /$$ /$$ /$$ /$$$$$$/$$$$ ", - -- "| $$__ $$ /$$__ $$ /$$__ $$| $$ /$$/| $$| $$_ $$_ $$", - -- "| $$ \\ $$| $$$$$$$$| $$ \\ $$ \\ $$/$$/ | $$| $$ \\ $$ \\ $$", - -- "| $$ | $$| $$_____/| $$ | $$ \\ $$$/ | $$| $$ | $$ | $$", - -- "| $$ | $$| $$$$$$$| $$$$$$/ \\ $/ | $$| $$ | $$ | $$", - -- "|__/ |__/ \\_______/ \\______/ \\_/ |__/|__/ |__/ |__/", - -- }, - -- header = require("startup.utils").get_oldfiles(10), - header = require("startup.utils").default_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, left or right - mapping_names = true, - -- can be an integer (columns) - -- float < 1 -> percentage of screen width - padding = 5, -- only used if align left or right - }, - colors = { - background = "#1f2227", - heading_fg = "#009900", - tools_fg = "#009900", - }, -} +local settings = require "startup.themes.default" return settings -- cgit v1.2.3