2021-07-15 16:43:17 +01:00
|
|
|
local g = vim.g
|
2021-06-14 04:54:47 +01:00
|
|
|
|
2021-09-02 05:15:28 +01:00
|
|
|
-- local fn = vim.fn
|
2021-08-22 08:49:15 +01:00
|
|
|
-- local plugins_count = fn.len(fn.globpath("~/.local/share/nvim/site/pack/packer/start", "*", 0, 1))
|
2021-07-09 04:44:04 +01:00
|
|
|
|
2021-09-02 05:15:28 +01:00
|
|
|
g.dashboard_disable_at_vimenter = 0
|
2021-07-15 16:43:17 +01:00
|
|
|
g.dashboard_disable_statusline = 1
|
|
|
|
g.dashboard_default_executive = "telescope"
|
|
|
|
g.dashboard_custom_header = {
|
2021-08-16 08:49:09 +01:00
|
|
|
" ",
|
|
|
|
" ",
|
|
|
|
" ",
|
|
|
|
" ⣴⣶⣤⡤⠦⣤⣀⣤⠆ ⣈⣭⣿⣶⣿⣦⣼⣆ ",
|
|
|
|
" ⠉⠻⢿⣿⠿⣿⣿⣶⣦⠤⠄⡠⢾⣿⣿⡿⠋⠉⠉⠻⣿⣿⡛⣦ ",
|
|
|
|
" ⠈⢿⣿⣟⠦ ⣾⣿⣿⣷ ⠻⠿⢿⣿⣧⣄ ",
|
|
|
|
" ⣸⣿⣿⢧ ⢻⠻⣿⣿⣷⣄⣀⠄⠢⣀⡀⠈⠙⠿⠄ ",
|
|
|
|
" ⢠⣿⣿⣿⠈ ⣻⣿⣿⣿⣿⣿⣿⣿⣛⣳⣤⣀⣀ ",
|
|
|
|
" ⢠⣧⣶⣥⡤⢄ ⣸⣿⣿⠘ ⢀⣴⣿⣿⡿⠛⣿⣿⣧⠈⢿⠿⠟⠛⠻⠿⠄ ",
|
|
|
|
" ⣰⣿⣿⠛⠻⣿⣿⡦⢹⣿⣷ ⢊⣿⣿⡏ ⢸⣿⣿⡇ ⢀⣠⣄⣾⠄ ",
|
|
|
|
" ⣠⣿⠿⠛ ⢀⣿⣿⣷⠘⢿⣿⣦⡀ ⢸⢿⣿⣿⣄ ⣸⣿⣿⡇⣪⣿⡿⠿⣿⣷⡄ ",
|
|
|
|
" ⠙⠃ ⣼⣿⡟ ⠈⠻⣿⣿⣦⣌⡇⠻⣿⣿⣷⣿⣿⣿ ⣿⣿⡇ ⠛⠻⢷⣄ ",
|
|
|
|
" ⢻⣿⣿⣄ ⠈⠻⣿⣿⣿⣷⣿⣿⣿⣿⣿⡟ ⠫⢿⣿⡆ ",
|
|
|
|
" ⠻⣿⣿⣿⣿⣶⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⡟⢀⣀⣤⣾⡿⠃ ",
|
|
|
|
" ",
|
2021-07-15 16:43:17 +01:00
|
|
|
}
|
2021-06-14 04:54:47 +01:00
|
|
|
|
2021-07-15 16:43:17 +01:00
|
|
|
g.dashboard_custom_section = {
|
2021-08-16 08:49:09 +01:00
|
|
|
a = { description = { " Find File SPC f f" }, command = "Telescope find_files" },
|
|
|
|
b = { description = { " Recents SPC f o" }, command = "Telescope oldfiles" },
|
|
|
|
c = { description = { " Find Word SPC f w" }, command = "Telescope live_grep" },
|
|
|
|
d = { description = { "洛 New File SPC f n" }, command = "DashboardNewFile" },
|
|
|
|
e = { description = { " Bookmarks SPC b m" }, command = "Telescope marks" },
|
2021-08-20 10:53:04 +01:00
|
|
|
f = { description = { " Load Last Session SPC l " }, command = "SessionLoad" },
|
2021-07-15 16:43:17 +01:00
|
|
|
}
|
2021-06-19 08:20:35 +01:00
|
|
|
|
2021-07-15 16:43:17 +01:00
|
|
|
g.dashboard_custom_footer = {
|
2021-08-16 08:49:09 +01:00
|
|
|
" ",
|
|
|
|
-- "NvChad Loaded " .. plugins_count .. " plugins",
|
|
|
|
"NvChad v0.5",
|
2021-07-15 16:43:17 +01:00
|
|
|
}
|