disable mini.starter
This commit is contained in:
parent
13347977be
commit
7c099a0d68
4
init.lua
4
init.lua
|
@ -898,9 +898,6 @@ require('lazy').setup({
|
|||
return '%2l:%-2v'
|
||||
end
|
||||
|
||||
-- Starter screen
|
||||
require('mini.starter').setup()
|
||||
|
||||
-- Jump to next/previous single character
|
||||
require('mini.jump').setup()
|
||||
|
||||
|
@ -917,6 +914,7 @@ require('lazy').setup({
|
|||
-- Check out: https://github.com/echasnovski/mini.nvim
|
||||
end,
|
||||
},
|
||||
|
||||
{ -- Highlight, edit, and navigate code
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
build = ':TSUpdate',
|
||||
|
|
|
@ -152,4 +152,47 @@ return {
|
|||
})
|
||||
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…
Reference in New Issue