adding dashbard
This commit is contained in:
parent
ca17ae0f6f
commit
8d6949fd50
35
init.lua
35
init.lua
|
@ -203,6 +203,7 @@ vim.api.nvim_create_autocmd('TextYankPost', {
|
|||
vim.highlight.on_yank()
|
||||
end,
|
||||
})
|
||||
vim.api.nvim_set_keymap('n', '<leader>e', ':lua MiniFiles.open()<CR>', { noremap = true, silent = true })
|
||||
|
||||
-- [[ Install `lazy.nvim` plugin manager ]]
|
||||
-- See `:help lazy.nvim.txt` or https://github.com/folke/lazy.nvim for more info
|
||||
|
@ -237,6 +238,24 @@ require('lazy').setup({
|
|||
--
|
||||
-- Use `opts = {}` to force a plugin to be loaded.
|
||||
--
|
||||
{
|
||||
'echasnovski/mini.nvim',
|
||||
version = false,
|
||||
config = function()
|
||||
require('mini.files').setup()
|
||||
end,
|
||||
},
|
||||
|
||||
{
|
||||
'nvimdev/dashboard-nvim',
|
||||
event = 'VimEnter',
|
||||
config = function()
|
||||
require('dashboard').setup {
|
||||
-- config
|
||||
}
|
||||
end,
|
||||
dependencies = { {'nvim-tree/nvim-web-devicons'}}
|
||||
},
|
||||
|
||||
{
|
||||
'windwp/nvim-autopairs',
|
||||
|
@ -255,13 +274,6 @@ require('lazy').setup({
|
|||
end,
|
||||
},
|
||||
|
||||
{
|
||||
'nvim-tree/nvim-web-devicons',
|
||||
opts = function()
|
||||
dofile(vim.g.base46_cache .. 'devicons')
|
||||
end,
|
||||
},
|
||||
|
||||
{
|
||||
'lukas-reineke/indent-blankline.nvim',
|
||||
event = 'User FilePost',
|
||||
|
@ -280,13 +292,6 @@ require('lazy').setup({
|
|||
end,
|
||||
},
|
||||
|
||||
-- File managing, picker etc
|
||||
{
|
||||
'nvim-tree/nvim-tree.lua',
|
||||
cmd = { 'NvimTreeToggle', 'NvimTreeFocus' },
|
||||
opts = function() end,
|
||||
},
|
||||
|
||||
-- Here is a more advanced example where we pass configuration
|
||||
-- options to `gitsigns.nvim`. This is equivalent to the following Lua:
|
||||
-- require('gitsigns').setup({ ... })
|
||||
|
@ -866,7 +871,7 @@ require('lazy').setup({
|
|||
-- change the command in the config to whatever the name of that colorscheme is.
|
||||
--
|
||||
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
|
||||
'rose-pine/neovim',
|
||||
'https://github.com/rose-pine/neovim.git',
|
||||
priority = 1000, -- Make sure to load this before all the other start plugins.
|
||||
init = function()
|
||||
-- Load the colorscheme here.
|
||||
|
|
Loading…
Reference in New Issue