commit
95dc3b686a
35 files changed
+3045
No files matched your search
@@ -0,0 +1,119 @@
|
||||
return {
|
||||
{
|
||||
"windwp/nvim-autopairs",
|
||||
event = "VeryLazy",
|
||||
config = function(_, opts)
|
||||
require("nvim-autopairs").setup(opts)
|
||||
end,
|
||||
},
|
||||
{
|
||||
"numToStr/Comment.nvim",
|
||||
event = "VeryLazy",
|
||||
config = function(_, opts)
|
||||
require("Comment").setup(opts)
|
||||
end,
|
||||
},
|
||||
{
|
||||
"folke/todo-comments.nvim",
|
||||
event = "VeryLazy",
|
||||
cmd = { "TodoTelescope", "TodoLocList" },
|
||||
config = true,
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{ "]t", function() require("todo-comments").jump_next() end, desc = "Next todo comment" },
|
||||
{ "[t", function() require("todo-comments").jump_prev() end, desc = "Previous todo comment" },
|
||||
{ "<leader>tt", "<cmd>TodoTelescope<cr>", desc = "List Todo in Telescope" },
|
||||
{ "<leader>tl", "<cmd>TodoLocList<cr>", desc = "List Todo in LocList" },
|
||||
},
|
||||
},
|
||||
{
|
||||
"nvimdev/dashboard-nvim",
|
||||
init = function()
|
||||
vim.cmd([[hi DashboardHeader guifg=#ee872d gui=bold]])
|
||||
vim.cmd([[hi DashboardProjectTitle guifg=#d55fde gui=bold]])
|
||||
vim.cmd([[hi DashboardProjectIcon guifg=#89ca78]])
|
||||
vim.cmd([[hi DashboardMruTitle guifg=#d55fde gui=bold]])
|
||||
vim.cmd([[hi DashboardShortCut guifg=#89ca78 gui=bold]])
|
||||
end,
|
||||
opts = {
|
||||
theme = "hyper",
|
||||
config = {
|
||||
header = {
|
||||
[[]],
|
||||
[[███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗]],
|
||||
[[████╗ ██║██╔�����██╔���██╗██║ ██║██║████╗ ████║]],
|
||||
[[██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║]],
|
||||
[[██║╚██╗██║██╔â•�â•�â•� ██║ ██║╚██╗ â–ˆâ
|
||||
–ˆâ•”â•�██║██║╚██╔â•�██║]],
|
||||
[[██║ ╚████║███████╗╚██████╔� ╚████╔� ██║██║ ╚�� ██║]],
|
||||
[[╚�� ╚����╚������� ╚������ ╚���� ╚��╚�� ╚��]],
|
||||
[[]],
|
||||
},
|
||||
shortcut = {
|
||||
{
|
||||
icon = " ", --
|
||||
desc = " Files",
|
||||
group = "Label",
|
||||
key = "f",
|
||||
action = "Telescope find_files",
|
||||
},
|
||||
{
|
||||
desc = " Find text",
|
||||
group = "@property",
|
||||
key = "g",
|
||||
action = "Telescope live_grep ",
|
||||
},
|
||||
{
|
||||
desc = "ï…› New file",
|
||||
group = "Macro",
|
||||
key = "n",
|
||||
action = "NvimTreeToggle",
|
||||
},
|
||||
{
|
||||
desc = "� Config",
|
||||
group = "DiagnosticHint",
|
||||
key = "c",
|
||||
action = "e $MYVIMRC ",
|
||||
},
|
||||
{
|
||||
desc = "� Quit",
|
||||
group = "Number",
|
||||
key = "q",
|
||||
action = "qa",
|
||||
},
|
||||
-- {
|
||||
-- desc = " Recent files",
|
||||
-- group = "",
|
||||
-- key = "r",
|
||||
-- action = "Telescope oldfiles ",
|
||||
-- },
|
||||
-- {
|
||||
-- desc = "󰊳 Update",
|
||||
-- group = "@property",
|
||||
-- key = "u",
|
||||
-- action = "Lazy update",
|
||||
-- },
|
||||
-- {
|
||||
-- icon="",
|
||||
-- icon_hl = "@variable",
|
||||
-- desc = "Apps",
|
||||
-- group = "DiagnosticHint",
|
||||
-- key = "a",
|
||||
-- action = "Telescope app",
|
||||
-- },
|
||||
-- {
|
||||
-- desc = " dotfiles",
|
||||
-- group = "Number",
|
||||
-- key = "d",
|
||||
-- action = "Telescope dotfiles",
|
||||
-- },
|
||||
},
|
||||
},
|
||||
hide = {
|
||||
statusline = true, -- hide statusline default is true
|
||||
tabline = false, -- hide the tabline
|
||||
winbar = true, -- hide winbar
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user