nvim-config/lua/plugin-config/dashboard.lua
2023-06-12 10:47:26 +08:00

82 lines
1.9 KiB
Lua
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- local db = require("dashboard")
-- db.custom_header = {
-- "",
-- "┳┻| ",
-- "┻┳| ",
-- "┳┻|ヘ ∧ ",
-- "┻┳| ● w ● )",
-- "┳┻|⊂ノ ",
-- "┻┳| ",
-- "",
-- }
require("dashboard").setup{
custom_header = {
"",
"┳┻| ",
"┻┳| ",
"┳┻|ヘ ∧ ",
"┻┳| ● w ● )",
"┳┻|⊂ノ ",
"┻┳| ",
"",
},
custom_section = {
a = {
description = { " Find File " },
command = "Telescope find_files find_command=rg,--hidden,--files",
},
b = {
description = { " Recently Used Files" },
command = "Telescope oldfiles",
},
c = {
description = { " Find Word " },
command = "Telescope live_grep",
},
d = {
description = { "洛 New File " },
command = "DashboardNewFile",
},
e = {
description = { " Bookmarks " },
command = "Telescope marks",
},
f = {
description = { " Load Last Session " },
command = "SessionLoad",
},
},
custom_footer = {
"Neovim",
},
}
-- db.custom_center = {
-- {
-- icon = " ",
-- desc = "Find File ",
-- action = "Telescope find_files find_command=rg,--hidden,--files",
-- shortcut = "SPC f f",
-- },
-- {
-- icon = " ",
-- desc = "Recently opened files ",
-- action = "Telescope oldfiles",
-- shortcut = "SPC f r",
-- },
-- {
-- icon = " ",
-- desc = "Open Project ",
-- action = "Telescope Project ",
-- shortcut = "SPC f p",
-- },
-- {
-- icon = " ",
-- desc = "File Browser ",
-- action = "Telescope file_browser",
-- shortcut = "SPC f b",
-- },
-- }