aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua/plugins/mini-starter.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua/plugins/mini-starter.lua')
-rw-r--r--nvim/lua/plugins/mini-starter.lua219
1 files changed, 219 insertions, 0 deletions
diff --git a/nvim/lua/plugins/mini-starter.lua b/nvim/lua/plugins/mini-starter.lua
new file mode 100644
index 0000000..8f66c4d
--- /dev/null
+++ b/nvim/lua/plugins/mini-starter.lua
@@ -0,0 +1,219 @@
+Headers = {
+ [[
+ ███╗ ██╗ ███████╗ ██████╗ ██╗ ██╗ ██╗ ███╗ ███╗
+ ████╗ ██║ ██╔════╝██╔═══██╗ ██║ ██║ ██║ ████╗ ████║
+ ██╔██╗ ██║ █████╗ ██║ ██║ ██║ ██║ ██║ ██╔████╔██║
+ ██║╚██╗██║ ██╔══╝ ██║ ██║ ╚██╗ ██╔╝ ██║ ██║╚██╔╝██║
+ ██║ ╚████║ ███████╗╚██████╔╝ ╚████╔╝ ██║ ██║ ╚═╝ ██║
+ ╚═╝ ╚═══╝ ╚══════╝ ╚═════╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝
+ ]],
+ [[
+ ███▄ █ ▓█████ ▒█████ ██▒ █▓ ██▓ ███▄ ▄███▓
+ ██ ▀█ █ ▓█ ▀ ▒██▒ ██▒▓██░ █▒▓██▒▓██▒▀█▀ ██▒
+ ▓██ ▀█ ██▒▒███ ▒██░ ██▒ ▓██ █▒░▒██▒▓██ ▓██░
+ ▓██▒ ▐▌██▒▒▓█ ▄ ▒██ ██░ ▒██ █░░░██░▒██ ▒██
+ ▒██░ ▓██░░▒████▒░ ████▓▒░ ▒▀█░ ░██░▒██▒ ░██▒
+ ░ ▒░ ▒ ▒ ░░ ▒░ ░░ ▒░▒░▒░ ░ ▐░ ░▓ ░ ▒░ ░ ░
+ ░ ░░ ░ ▒░ ░ ░ ░ ░ ▒ ▒░ ░ ░░ ▒ ░░ ░ ░
+ ░ ░ ░ ░ ░ ░ ░ ▒ ░░ ▒ ░░ ░
+ ░ ░ ░ ░ ░ ░ ░ ░
+ ░
+ ]],
+ [[
+ ██████ █████ █████ █████ ███
+ ░░██████ ░░███ ░░███ ░░███ ░░░
+ ░███░███ ░███ ██████ ██████ ░███ ░███ ████ █████████████
+ ░███░░███░███ ███░░███ ███░░███ ░███ ░███ ░░███ ░░███░░███░░███
+ ░███ ░░██████ ░███████ ░███ ░███ ░░███ ███ ░███ ░███ ░███ ░███
+ ░███ ░░█████ ░███░░░ ░███ ░███ ░░░█████░ ░███ ░███ ░███ ░███
+ █████ ░░█████░░██████ ░░██████ ░░███ █████ █████░███ █████
+ ░░░░░ ░░░░░ ░░░░░░ ░░░░░░ ░░░ ░░░░░ ░░░░░ ░░░ ░░░░░
+ ]],
+ [[
+ ▐ ▄ ▄▄▄ . ▌ ▐·▪ • ▌ ▄ ·.
+ •█▌▐█▀▄.▀· ▄█▀▄ ▪█·█▌██ ·██ ▐███▪
+ ▐█▐▐▌▐▀▀▪▄▐█▌.▐▌▐█▐█•▐█·▐█ ▌▐▌▐█·
+ ██▐█▌▐█▄▄▌▐█▌.▐▌ ███ ▐█▌██ ██▌▐█▌
+ ▀▀ █▪ ▀▀▀ ▀█▄▀▪. ▀ ▀▀▀▀▀ █▪▀▀▀
+ ]],
+ [[
+ __ __ ________ ______ __ __ ______ __ __
+ | \ | \ \/ \| \ | \ \ \ / \
+ | ▓▓\ | ▓▓ ▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓\ ▓▓ | ▓▓\▓▓▓▓▓▓ ▓▓\ / ▓▓
+ | ▓▓▓\| ▓▓ ▓▓__ | ▓▓ | ▓▓ ▓▓ | ▓▓ | ▓▓ | ▓▓▓\ / ▓▓▓
+ | ▓▓▓▓\ ▓▓ ▓▓ \ | ▓▓ | ▓▓\▓▓\ / ▓▓ | ▓▓ | ▓▓▓▓\ ▓▓▓▓
+ | ▓▓\▓▓ ▓▓ ▓▓▓▓▓ | ▓▓ | ▓▓ \▓▓\ ▓▓ | ▓▓ | ▓▓\▓▓ ▓▓ ▓▓
+ | ▓▓ \▓▓▓▓ ▓▓_____| ▓▓__/ ▓▓ \▓▓ ▓▓ _| ▓▓_| ▓▓ \▓▓▓| ▓▓
+ | ▓▓ \▓▓▓ ▓▓ \\▓▓ ▓▓ \▓▓▓ | ▓▓ \ ▓▓ \▓ | ▓▓
+ \▓▓ \▓▓\▓▓▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓ \▓▓▓▓▓▓\▓▓ \▓▓
+ ]],
+ [[
+ ▀███▄ ▀███▀███▀▀▀███ ▄▄█▀▀██▄ ▀████▀ ▀███▀████▀████▄ ▄███▀
+ ███▄ █ ██ ▀█▄██▀ ▀██▄ ▀██ ▄█ ██ ████ ████
+ █ ███ █ ██ █ ██▀ ▀██ ██▄ ▄█ ██ █ ██ ▄█ ██
+ █ ▀██▄ █ ██████ ██ ██ ██▄ █▀ ██ █ █▓ █▀ ██
+ █ ▀██▄▓ ██ █ ▄█ ██ ▀▓█ ▓▀ █▓ ▓ █▓▄█▀ ██
+ ▓ ▓█▓ █▓ ▄███ ██▀ ▓██▄ █▓ ▓ ▀▓█▀ ██
+ ▓ ▀▓▓▓▓ ▓▓ ▓ ▓██ ▓█▓ ▓▓ ▓▀ ▓▓ ▓ ▓▓▓▓▀ ▓▓
+ ▓ ▓▓▓ ▓▓ ▓▓█▓▓▓ ▓▓▓ ▓▓▒▒ ▒▓ ▒ ▀▓▓▀ ▓▓
+ ▒ ▒ ▒ ▒▓▓▒ ▒▒▒▓▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒▓▒ ▒▒ ▒▒▒ ▒ ▒ ▒▒▒
+ ]],
+ [[
+ ⣴⣶⣤⡤⠦⣤⣀⣤⠆ ⣈⣭⣿⣶⣿⣦⣼⣆
+ ⠉⠻⢿⣿⠿⣿⣿⣶⣦⠤⠄⡠⢾⣿⣿⡿⠋⠉⠉⠻⣿⣿⡛⣦
+ ⠈⢿⣿⣟⠦ ⣾⣿⣿⣷ ⠻⠿⢿⣿⣧⣄
+ ⣸⣿⣿⢧ ⢻⠻⣿⣿⣷⣄⣀⠄⠢⣀⡀⠈⠙⠿⠄
+ ⢠⣿⣿⣿⠈ ⣻⣿⣿⣿⣿⣿⣿⣿⣛⣳⣤⣀⣀
+ ⢠⣧⣶⣥⡤⢄ ⣸⣿⣿⠘ ⢀⣴⣿⣿⡿⠛⣿⣿⣧⠈⢿⠿⠟⠛⠻⠿⠄
+ ⣰⣿⣿⠛⠻⣿⣿⡦⢹⣿⣷ ⢊⣿⣿⡏ ⢸⣿⣿⡇ ⢀⣠⣄⣾⠄
+ ⣠⣿⠿⠛ ⢀⣿⣿⣷⠘⢿⣿⣦⡀ ⢸⢿⣿⣿⣄ ⣸⣿⣿⡇⣪⣿⡿⠿⣿⣷⡄
+ ⠙⠃ ⣼⣿⡟ ⠈⠻⣿⣿⣦⣌⡇⠻⣿⣿⣷⣿⣿⣿ ⣿⣿⡇ ⠛⠻⢷⣄
+ ⢻⣿⣿⣄ ⠈⠻⣿⣿⣿⣷⣿⣿⣿⣿⣿⡟ ⠫⢿⣿⡆
+ ⠻⣿⣿⣿⣿⣶⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⡟⢀⣀⣤⣾⡿⠃
+ ]],
+ [[
+ ,-. _,---._ __ / \
+ / ) .-' `./ / \
+ ( ( ,' `/ /|
+ \ `-" \'\ / |
+ `. , \ \ / |
+ /`. ,'-`----Y |
+ ( ; | '
+ | ,-. ,-' | /
+ | | ( | | /
+ ) | \ `.___________|/
+ `--' `--'
+ ]],
+ [[
+ |\ _,,,---,,_
+ ZZZzz /,`.-'`' -. ;-;;,_
+ |,4- ) )-,_. ,\ ( `'-'
+ '---''(_/--' `-'\_)
+ ]],
+ [[
+ ╭╮╭┬─╮╭─╮┬ ┬┬╭┬╮
+ │││├┤ │ │╰┐┌╯││││
+ ╯╰╯╰─╯╰─╯ ╰╯ ┴┴ ┴
+ ]],
+}
+
+Quotes = {
+ [[
+ I don't care that they stole my idea... I care that they don't have any of their own.
+ ~ Nikola Tesla
+ ]],
+ [[
+ Make everything as simple as possible, but not simpler.
+ ~ Albert Einstein
+ ]],
+ [[
+ Code never lies, comments sometimes do.
+ ~ Ron Jeffries
+ ]],
+ [[
+ Good code is its own best documentation.
+ ~ Steve McConnell
+ ]],
+ [[
+ I do not fear computers. I fear the lack of them.
+ ~ Isaac Asimov
+ ]],
+ [[
+ If a machine is expected to be infallible, it cannot also be intelligent.
+ ~ Alan Turing
+ ]],
+ [[
+ Mathematical reasoning may be regarded.
+ ~ Alan Turing
+ ]],
+ [[
+ Anti-social behavior is a trait of intelligence in a world full of conformists.
+ ~ Nikola Tesla
+ ]],
+ [[
+ We are very, very small, but we are profoundly capable of very, very big things.
+ ~ Stephen Hawking
+ ]],
+ [[
+ Quiet people have the loudest minds.
+ ~ Stephen Hawking
+ ]],
+ [[
+ An idiot admires complexity, a genius admires simplicity.
+ ~ Terry Davis
+ ]],
+ [[
+ It's hardware that makes a machine fast. It's software that makes a fast machine slow.
+ ~ Craig Reucassel
+ ]],
+ [[
+ Computer science is no more about computers than astronomy is about telescopes.
+ ~ Edsger Dijkstra
+ ]],
+ [[
+ An algorithm must be seen to be believed.
+ ~ Donald Knuth
+ ]],
+ [[
+ In theory there is no difference between theory and practice.
+ In practice there is.
+ ~ Yogi Berra
+ ]],
+ [[
+ If Java had true garbage collection, most programs would delete themselves upon execution.
+ ~ Robert Sewell
+ ]],
+ [[
+ If debugging is the process of removing software bugs,
+ then programming must be the process of putting them in.
+ ~ Edsger Dijkstra
+ ]],
+ [[
+ Most of you are familiar with the virtues of a programmer.
+ There are three, of course: laziness, impatience, and hubris.
+ ~ Larry Wall
+ ]],
+ [[
+ The question of whether computers can think is like the question of whether submarines can swim.
+ ~ Edsger Dijkstra
+ ]],
+}
+
+
+math.randomseed(os.time())
+
+local header = function()
+ return Headers[math.random(#Headers)]
+end
+
+local footer = function()
+ return Quotes[math.random(#Quotes)]
+end
+
+
+local config = function()
+ local starter = require("mini.starter")
+ vim.keymap.set("n", "<Space>d", starter.open, { desc = "Dashboard" })
+ starter.setup({
+ autoopen = true,
+ evaluate_single = false,
+ items = {
+ starter.sections.recent_files(5, false, false),
+ { name = "Plugin Manager", action = "Lazy", section = "Actions" },
+ { name = "File Browser", action = "Oil --float", section = "Actions" },
+ { name = "Neorg Index", action = "Neorg index", section = "Actions" },
+ starter.sections.builtin_actions,
+ },
+ header = header,
+ footer = footer,
+ content_hooks = nil,
+ query_updaters = "abcdefghijklmnopqrstuvwxyz0123456789_-.",
+ silent = false,
+ })
+end
+
+return {
+ "echasnovski/mini.starter",
+ lazy = false,
+ config = config
+}