up
This commit is contained in:
@@ -36,8 +36,44 @@ return {
|
||||
return '%2l:%-2v'
|
||||
end
|
||||
|
||||
local dashboard = require 'mini.starter'
|
||||
dashboard.setup {
|
||||
evaluate_single = true,
|
||||
header = table.concat({
|
||||
' ⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣤⣤⣤⣤⣀⡀',
|
||||
' ⠀⠀⠀⠀⠀⢀⣴⣿⣿⠿⠛⠋⠉⠉⠛⠛⠻⢿⣷⣦⡀',
|
||||
' ⠀⠀⠀⢀⣴⣿⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠙⣿⣿⣆',
|
||||
' ⠀⠀⣠⣿⠏⠀⠀⢀⣠⣤⣤⣤⣤⣀⠀⠀⠀⠀⠀⠀⠹⣿⣿⡄',
|
||||
' ⠀⣾⣿⠃⠀⠀⠘⠛⠉⠀⠀⠀⠉⠛⠂⠀⠀⠀⠀⠀⠀⠈⣿⣿⣷',
|
||||
' ⢸⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿',
|
||||
' ⠘⣿⣿⣆⠀⠀⠀⠀⣠⣤⣤⣤⣄⠀⠀⠀⠀⠀⠀⠀⠀⢀⣾⣿⠃',
|
||||
' ⠀⠛⠻⢿⣿⣷⣶⣾⣿⣿⣿⣿⣿⣷⣦⣄⣀⣀⣀⣤⣴⠿⠛⠁',
|
||||
'',
|
||||
}, '\n'),
|
||||
items = {
|
||||
{ action = 'edit ~/.config/nvim/init.lua', name = ' Configuration', section = 'Configuration' },
|
||||
{ action = 'Telescope find_files', name = ' Rechercher fichier', section = 'Telescope' },
|
||||
{ action = 'Telescope oldfiles', name = ' Fichiers récents', section = 'Telescope' },
|
||||
{ action = 'Telescope live_grep', name = ' Rechercher texte', section = 'Telescope' },
|
||||
{ action = 'e .', name = ' Parcourir', section = 'Fichiers' },
|
||||
{ action = 'qa', name = ' Quitter', section = 'Quitter' },
|
||||
},
|
||||
content_hooks = {
|
||||
require('mini.starter').gen_hook.adding_bullet ' ',
|
||||
require('mini.starter').gen_hook.aligning('center', 'center'),
|
||||
},
|
||||
}
|
||||
|
||||
-- Simple way to visualize and work with indent scope
|
||||
local indentscope = require 'mini.indentscope'
|
||||
indentscope.setup {}
|
||||
|
||||
-- Simple way to (un)comment line(s)
|
||||
local commenter = require 'mini.comment'
|
||||
commenter.setup {}
|
||||
|
||||
-- ... and there is more!
|
||||
-- Check out: https://github.com/echasnovski/mini.nvim
|
||||
end,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user