mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 00:25:47 +02:00
update dashboard
This commit is contained in:
parent
f1e6c8c266
commit
5b9e88f83f
4 changed files with 4 additions and 3 deletions
|
@ -49,7 +49,7 @@ return {
|
|||
{
|
||||
"numToStr/Comment.nvim",
|
||||
commit = "97a188a98b5a3a6f9b1b850799ac078faa17ab67",
|
||||
event = "BufReadPost",
|
||||
event = "InsertEnter",
|
||||
init = function()
|
||||
require("user.comment")
|
||||
end,
|
||||
|
@ -183,7 +183,7 @@ return {
|
|||
},
|
||||
{
|
||||
"NvChad/nvim-colorizer.lua",
|
||||
event = "BufWinEnter",
|
||||
event = "VeryLazy",
|
||||
opts = function()
|
||||
require("user.colorizer")
|
||||
end,
|
||||
|
|
|
@ -21,6 +21,7 @@ dashboard.section.buttons.val = {
|
|||
dashboard.button("r", " Recently used files", ":Telescope oldfiles <CR>"),
|
||||
dashboard.button("t", " Find text", ":Telescope live_grep <CR>"),
|
||||
dashboard.button("c", " Configuration", ":e $MYVIMRC <CR>"),
|
||||
dashboard.button("z", "鈴 Lazy", ":Lazy<CR>"),
|
||||
dashboard.button("q", " Quit Neovim", ":qa<CR>"),
|
||||
}
|
||||
|
||||
|
@ -42,4 +43,3 @@ dashboard.section.buttons.opts.hl = "Keyword"
|
|||
dashboard.opts.opts.noautocmd = true
|
||||
-- vim.cmd([[autocmd User AlphaReady echo 'ready']])
|
||||
alpha.setup(dashboard.opts)
|
||||
|
||||
|
|
|
@ -113,6 +113,7 @@ local mappings = {
|
|||
},
|
||||
["F"] = { "<cmd>Telescope live_grep theme=ivy<cr>", "Find Text" },
|
||||
["P"] = { "<cmd>lua require('telescope').extensions.projects.projects()<cr>", "Projects" },
|
||||
["z"] = { "<cmd>Lazy<cr>", "Lazy" },
|
||||
|
||||
["/"] = {
|
||||
function()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue