Skip to content

Commit 8d6949f

Browse files
committed
adding dashbard
1 parent ca17ae0 commit 8d6949f

File tree

1 file changed

+22
-17
lines changed

1 file changed

+22
-17
lines changed

init.lua

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ vim.api.nvim_create_autocmd('TextYankPost', {
203203
vim.highlight.on_yank()
204204
end,
205205
})
206+
vim.api.nvim_set_keymap('n', '<leader>e', ':lua MiniFiles.open()<CR>', { noremap = true, silent = true })
206207

207208
-- [[ Install `lazy.nvim` plugin manager ]]
208209
-- See `:help lazy.nvim.txt` or https://github.com/folke/lazy.nvim for more info
@@ -237,6 +238,24 @@ require('lazy').setup({
237238
--
238239
-- Use `opts = {}` to force a plugin to be loaded.
239240
--
241+
{
242+
'echasnovski/mini.nvim',
243+
version = false,
244+
config = function()
245+
require('mini.files').setup()
246+
end,
247+
},
248+
249+
{
250+
'nvimdev/dashboard-nvim',
251+
event = 'VimEnter',
252+
config = function()
253+
require('dashboard').setup {
254+
-- config
255+
}
256+
end,
257+
dependencies = { {'nvim-tree/nvim-web-devicons'}}
258+
},
240259

241260
{
242261
'windwp/nvim-autopairs',
@@ -255,13 +274,6 @@ require('lazy').setup({
255274
end,
256275
},
257276

258-
{
259-
'nvim-tree/nvim-web-devicons',
260-
opts = function()
261-
dofile(vim.g.base46_cache .. 'devicons')
262-
end,
263-
},
264-
265277
{
266278
'lukas-reineke/indent-blankline.nvim',
267279
event = 'User FilePost',
@@ -280,13 +292,6 @@ require('lazy').setup({
280292
end,
281293
},
282294

283-
-- File managing, picker etc
284-
{
285-
'nvim-tree/nvim-tree.lua',
286-
cmd = { 'NvimTreeToggle', 'NvimTreeFocus' },
287-
opts = function() end,
288-
},
289-
290295
-- Here is a more advanced example where we pass configuration
291296
-- options to `gitsigns.nvim`. This is equivalent to the following Lua:
292297
-- require('gitsigns').setup({ ... })
@@ -643,8 +648,8 @@ require('lazy').setup({
643648
clangd = {},
644649
-- gopls = {},
645650
pyright = {},
646-
html= {},
647-
cssls= {},
651+
html = {},
652+
cssls = {},
648653
-- rust_analyzer = {},
649654
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
650655
--
@@ -866,7 +871,7 @@ require('lazy').setup({
866871
-- change the command in the config to whatever the name of that colorscheme is.
867872
--
868873
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
869-
'rose-pine/neovim',
874+
'https://github.com/rose-pine/neovim.git',
870875
priority = 1000, -- Make sure to load this before all the other start plugins.
871876
init = function()
872877
-- Load the colorscheme here.

0 commit comments

Comments
 (0)