disable mini.starter

pull/1467/head
Lorran David 3 months ago
parent 13347977be
commit 7c099a0d68

@ -898,9 +898,6 @@ require('lazy').setup({
return '%2l:%-2v' return '%2l:%-2v'
end end
-- Starter screen
require('mini.starter').setup()
-- Jump to next/previous single character -- Jump to next/previous single character
require('mini.jump').setup() require('mini.jump').setup()
@ -917,6 +914,7 @@ require('lazy').setup({
-- Check out: https://github.com/echasnovski/mini.nvim -- Check out: https://github.com/echasnovski/mini.nvim
end, end,
}, },
{ -- Highlight, edit, and navigate code { -- Highlight, edit, and navigate code
'nvim-treesitter/nvim-treesitter', 'nvim-treesitter/nvim-treesitter',
build = ':TSUpdate', build = ':TSUpdate',

@ -152,4 +152,47 @@ return {
}) })
end, end,
}, },
{
"echasnovski/mini.starter",
enabled = false,
config = function ()
require('mini.starter').setup({
-- Define the header
header = table.concat({
"================= =============== =============== ======== ========",
"\\\\ . . . . . . .\\\\ //. . . . . . .\\\\ //. . . . . . .\\\\ \\\\. . .\\\\// . . //",
"||. . ._____. . .|| ||. . ._____. . .|| ||. . ._____. . .|| || . . .\\/ . . .||",
"|| . .|| ||. . || || . .|| ||. . || || . .|| ||. . || ||. . . . . . . ||",
"||. . || || . .|| ||. . || || . .|| ||. . || || . .|| || . | . . . . .||",
"|| . .|| ||. _-|| ||-_ .|| ||. . || || . .|| ||. _-|| ||-_.|\\ . . . . ||",
"||. . || ||-' || || `-|| || . .|| ||. . || ||-' || || `|\\_ . .|. .||",
"|| . _|| || || || || ||_ . || || . _|| || || || |\\ `-_/| . ||",
"||_-' || .|/ || || \\|. || `-_|| ||_-' || .|/ || || | \\ / |-_.||",
"|| ||_-' || || `-_|| || || ||_-' || || | \\ / | `||",
"|| `' || || `' || || `' || || | \\ / | ||",
"|| .===' `===. .==='.`===. .===' /==. | \\/ | ||",
"|| .==' \\_|-_ `===. .===' _|_ `===. .===' _-|/ `== \\/ | ||",
"|| .==' _-' `-_ `=' _-' `-_ `=' _-' `-_ /| \\/ | ||",
"|| .==' _-' `-__\\._-' `-_./__-' `' |. /| | ||",
"||.==' _-' `' | /==.||",
"==' _-' N E O V I M \\/ `==",
"\\ _-' `-_ /",
" `'' ``'",
}, "\n"),
-- Define the items to display in the starter
items = {
{ name = 'New File', action = 'enew', section = 'Actions' },
{ name = 'Open File', action = 'Telescope find_files', section = 'Actions' },
{ name = 'Recent Files', action = 'Telescope oldfiles', section = 'Actions' },
{ name = 'Config', action = 'edit ~/.config/nvim/init.lua', section = 'Config' },
{ name = 'Quit', action = 'qall', section = 'Actions' },
},
-- Define the footer
footer = os.date("%Y-%m-%d %H:%M:%S"),
})
end
},
} }

Loading…
Cancel
Save