Skip to content

Commit 7c099a0

Browse files
committed
disable mini.starter
1 parent 1334797 commit 7c099a0

File tree

2 files changed

+44
-3
lines changed

2 files changed

+44
-3
lines changed

init.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -898,9 +898,6 @@ require('lazy').setup({
898898
return '%2l:%-2v'
899899
end
900900

901-
-- Starter screen
902-
require('mini.starter').setup()
903-
904901
-- Jump to next/previous single character
905902
require('mini.jump').setup()
906903

@@ -917,6 +914,7 @@ require('lazy').setup({
917914
-- Check out: https://github.com/echasnovski/mini.nvim
918915
end,
919916
},
917+
920918
{ -- Highlight, edit, and navigate code
921919
'nvim-treesitter/nvim-treesitter',
922920
build = ':TSUpdate',

lua/custom/plugins/mini.lua

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,4 +152,47 @@ return {
152152
})
153153
end,
154154
},
155+
156+
{
157+
"echasnovski/mini.starter",
158+
enabled = false,
159+
config = function ()
160+
require('mini.starter').setup({
161+
-- Define the header
162+
header = table.concat({
163+
"================= =============== =============== ======== ========",
164+
"\\\\ . . . . . . .\\\\ //. . . . . . .\\\\ //. . . . . . .\\\\ \\\\. . .\\\\// . . //",
165+
"||. . ._____. . .|| ||. . ._____. . .|| ||. . ._____. . .|| || . . .\\/ . . .||",
166+
"|| . .|| ||. . || || . .|| ||. . || || . .|| ||. . || ||. . . . . . . ||",
167+
"||. . || || . .|| ||. . || || . .|| ||. . || || . .|| || . | . . . . .||",
168+
"|| . .|| ||. _-|| ||-_ .|| ||. . || || . .|| ||. _-|| ||-_.|\\ . . . . ||",
169+
"||. . || ||-' || || `-|| || . .|| ||. . || ||-' || || `|\\_ . .|. .||",
170+
"|| . _|| || || || || ||_ . || || . _|| || || || |\\ `-_/| . ||",
171+
"||_-' || .|/ || || \\|. || `-_|| ||_-' || .|/ || || | \\ / |-_.||",
172+
"|| ||_-' || || `-_|| || || ||_-' || || | \\ / | `||",
173+
"|| `' || || `' || || `' || || | \\ / | ||",
174+
"|| .===' `===. .==='.`===. .===' /==. | \\/ | ||",
175+
"|| .==' \\_|-_ `===. .===' _|_ `===. .===' _-|/ `== \\/ | ||",
176+
"|| .==' _-' `-_ `=' _-' `-_ `=' _-' `-_ /| \\/ | ||",
177+
"|| .==' _-' `-__\\._-' `-_./__-' `' |. /| | ||",
178+
"||.==' _-' `' | /==.||",
179+
"==' _-' N E O V I M \\/ `==",
180+
"\\ _-' `-_ /",
181+
" `'' ``'",
182+
}, "\n"),
183+
184+
-- Define the items to display in the starter
185+
items = {
186+
{ name = 'New File', action = 'enew', section = 'Actions' },
187+
{ name = 'Open File', action = 'Telescope find_files', section = 'Actions' },
188+
{ name = 'Recent Files', action = 'Telescope oldfiles', section = 'Actions' },
189+
{ name = 'Config', action = 'edit ~/.config/nvim/init.lua', section = 'Config' },
190+
{ name = 'Quit', action = 'qall', section = 'Actions' },
191+
},
192+
193+
-- Define the footer
194+
footer = os.date("%Y-%m-%d %H:%M:%S"),
195+
})
196+
end
197+
},
155198
}

0 commit comments

Comments
 (0)