local status, starter = pcall(require, "mini.starter") if not status then return end starter.setup({ content_hooks = { starter.gen_hook.adding_bullet(""), starter.gen_hook.aligning("center", "center"), }, evaluate_single = true, footer = os.date(), header = table.concat({ [[██████╗ ███████╗███╗ ██╗██╗ ██╗██╗███╗ ███╗]], [[██╔══██╗██╔════╝████╗ ██║██║ ██║██║████╗ ████║]], [[██████╔╝█████╗ ██╔██╗ ██║██║ ██║██║██╔████╔██║]], [[██╔══██╗██╔══╝ ██║╚██╗██║╚██╗ ██╔╝██║██║╚██╔╝██║]], [[██████╔╝███████╗██║ ╚████║ ╚████╔╝ ██║██║ ╚═╝ ██║]], [[╚═════╝ ╚══════╝╚═╝ ╚═══╝ ╚═══╝ ╚═╝╚═╝ ╚═╝]], [[─────────────────────────────────────────────────]], }, "\n"), query_updaters = [[abcdefghilmoqrstuvwxyz0123456789_-,.ABCDEFGHIJKLMOQRSTUVWXYZ]], items = { { action = "PackerSync", name = "U: Update Plugins", section = "Plugins" }, { action = "enew", name = "E: New Buffer", section = "Builtin actions" }, { action = "qall!", name = "Q: Quit Neovim", section = "Builtin actions" }, }, }) vim.cmd([[ augroup MiniStarterJK au! au User MiniStarterOpened nmap j lua MiniStarter.update_current_item('next') au User MiniStarterOpened nmap k lua MiniStarter.update_current_item('prev') au User MiniStarterOpened nmap Telescope find_files au User MiniStarterOpened nmap Telescope file_browser augroup END ]])