aboutsummaryrefslogtreecommitdiff
path: root/lua/startup/config.lua
blob: 3a38f9cf87e7c1edb0931c35e75365a57e05f1ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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", "<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, 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",
  },
}

return settings