This commit is contained in:
2025-08-08 03:36:34 +02:00
parent f80e1dd013
commit f5657d958d
14 changed files with 153 additions and 38 deletions

View File

@@ -36,20 +36,11 @@ return {
return '%2l:%-2v'
end
local dashboard = require 'mini.starter'
dashboard.setup {
local starter = require 'mini.starter'
local logo = require 'kickstart.plugins.logos'
starter.setup {
evaluate_single = true,
header = table.concat({
' ⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣤⣤⣤⣤⣀⡀',
' ⠀⠀⠀⠀⠀⢀⣴⣿⣿⠿⠛⠋⠉⠉⠛⠛⠻⢿⣷⣦⡀',
' ⠀⠀⠀⢀⣴⣿⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠙⣿⣿⣆',
' ⠀⠀⣠⣿⠏⠀⠀⢀⣠⣤⣤⣤⣤⣀⠀⠀⠀⠀⠀⠀⠹⣿⣿⡄',
' ⠀⣾⣿⠃⠀⠀⠘⠛⠉⠀⠀⠀⠉⠛⠂⠀⠀⠀⠀⠀⠀⠈⣿⣿⣷',
' ⢸⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿',
' ⠘⣿⣿⣆⠀⠀⠀⠀⣠⣤⣤⣤⣄⠀⠀⠀⠀⠀⠀⠀⠀⢀⣾⣿⠃',
' ⠀⠛⠻⢿⣿⣷⣶⣾⣿⣿⣿⣿⣿⣷⣦⣄⣀⣀⣀⣤⣴⠿⠛⠁',
'',
}, '\n'),
header = table.concat(logo.neovim1, '\n'),
items = {
{ action = 'edit ~/.config/nvim/init.lua', name = ' Configuration', section = 'Configuration' },
{ action = 'Telescope find_files', name = '󰱼 Rechercher fichier', section = 'Telescope' },
@@ -70,7 +61,14 @@ return {
-- Simple way to (un)comment line(s)
local commenter = require 'mini.comment'
commenter.setup {}
commenter.setup {
mappings = {
comment = '<leader>c',
comment_line = '<leader>cl',
comment_visual = '<leader>c',
textobject = '<leader>c',
},
}
-- Minimal and fast tabline showing listed buffers
local tabline = require 'mini.tabline'