chore: add better interface

This commit is contained in:
graned 2025-10-05 12:22:08 +02:00
parent f97b580ebe
commit f61ee4f4df
4 changed files with 42 additions and 2 deletions

View File

@ -993,7 +993,7 @@ require('lazy').setup({
require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
require 'kickstart.plugins.devstack',
require 'kickstart.plugins.theme',
require 'kickstart.plugins.dashboard',
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
-- This is the easiest way to modularize your config.
--

View File

@ -0,0 +1,32 @@
return {
{
'glepnir/dashboard-nvim',
event = 'VimEnter',
dependencies = { 'nvim-tree/nvim-web-devicons' },
config = function()
local dashboard = require 'dashboard'
dashboard.setup {
theme = 'hyper',
config = {
header = {
' They taking the bits to...', -- small tagline line
'',
' ██╗███████╗███████╗███╗ ██╗ ██████╗ ██╗ ██╗ █████╗ ██████╗ ██████╗ ',
' ██║██╔════╝██╔════╝████╗ ██║██╔════╝ ██║ ██║██╔══██╗██╔══██╗██╔══██╗ ',
' ██║███████╗█████╗ ██╔██╗ ██║██║ ███╗██║ ██║███████║██████╔╝██║ ██║ ',
' ██║╚════██║██╔══╝ ██║╚██╗██║██║ ██║██║ ██║██╔══██║██╔══██╗██║ ██║ ',
' ██║███████║███████╗██║ ╚████║╚██████╔╝╚██████╔╝██║ ██║██║ ██║██████╔╝ ',
' ╚═╝╚══════╝╚══════╝╚═╝ ╚═══╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ',
},
center = {
{ icon = '', desc = 'New file', action = 'enew', key = 'n' },
{ icon = '', desc = 'Find file', action = 'Telescope find_files', key = 'f' },
{ icon = '', desc = 'Explorer', action = 'Neotree toggle', key = 'e' },
{ icon = '', desc = 'Quit', action = 'qa', key = 'q' },
},
footer = { 'isenguard • ' .. os.date '%Y-%m-%d %H:%M' },
},
}
end,
},
}

View File

@ -12,6 +12,10 @@ return {
lazy = false,
keys = {
{ '\\', ':Neotree reveal<CR>', desc = 'NeoTree reveal', silent = true },
{ '<leader>e', '<cmd>Neotree toggle<CR>', desc = 'Toggle neo-tree' },
{ '<leader>o', '<cmd>Neotree reveal<CR>', desc = 'Reveal current file' },
{ '<leader>o', '<cmd>Neotree reveal<CR>', desc = 'Reveal current file' },
{ '<leader>gs', '<cmd>Neotree toggle show git_status<CR>', desc = 'Toggle git status panel' },
},
opts = {
filesystem = {

View File

@ -7,7 +7,11 @@ return {
config = function()
require('catppuccin').setup {
flavour = 'macchiato', -- latte, frappe, macchiato, mocha
transparent_background = false,
transparent_background = true,
integrations = {
neotree = true,
telescope = true,
},
}
vim.cmd.colorscheme 'catppuccin'
end,