diff options
Diffstat (limited to 'lua/startup/buildingblocks')
-rw-r--r-- | lua/startup/buildingblocks/functions.lua | 27 | ||||
-rw-r--r-- | lua/startup/buildingblocks/headers.lua | 85 |
2 files changed, 110 insertions, 2 deletions
diff --git a/lua/startup/buildingblocks/functions.lua b/lua/startup/buildingblocks/functions.lua index 7e103d3..9b4ca2d 100644 --- a/lua/startup/buildingblocks/functions.lua +++ b/lua/startup/buildingblocks/functions.lua @@ -21,7 +21,11 @@ local quotes = { "", "- Alan Perlis", }, - { "Simplicity does not precede complexity, but follows it.", "", "- Alan Perlis" }, + { + "Simplicity does not precede complexity, but follows it.", + "", + "- Alan Perlis", + }, { "Optimization hinders evolution.", "", "- Alan Perlis" }, { "Recursion is the root of computation since it trades description for time.", @@ -333,7 +337,11 @@ local quotes = { "", "Don't get so engrossed in the details that you forget to check what's happening around you.", }, - { "Invest regularly in your knowledge portfolio.", "", "Make learning a habit." }, + { + "Invest regularly in your knowledge portfolio.", + "", + "Make learning a habit.", + }, { "It's both what you say and the way you say it.", "", @@ -678,4 +686,19 @@ function M.quote() local index = math.random() * #quotes return quotes[math.floor(index) + 1] end + +function M.oldfiles(amount) + local oldfiles = {} + table.insert(oldfiles, "Press 'o' to open the file under the cursor") + local count = 0 + for _, file in ipairs(vim.v.oldfiles) do + if count == amount then + break + end + table.insert(oldfiles, file) + count = count + 1 + end + return oldfiles +end + return M diff --git a/lua/startup/buildingblocks/headers.lua b/lua/startup/buildingblocks/headers.lua index 4df1798..344f89a 100644 --- a/lua/startup/buildingblocks/headers.lua +++ b/lua/startup/buildingblocks/headers.lua @@ -53,4 +53,89 @@ function M.neovim_logo() } end +function M.pacman() + return { + "================================================.", + " .-. .-. .--. |", + " | OO| | OO| / _.-' .-. .-. .-. .''. |", + " | | | | \\ '-. '-' '-' '-' '..' |", + " '^^^' '^^^' '--' |", + "===============. .-. .================. .-. |", + " | | | | | '-' |", + " | | | | | |", + " | ':-:' | | .-. |", + "42 | '-' | | '-' |", + "===============' '================' |", + } +end + +function M.zelda_logo_big() + return { + " _ ", + " /_\\ ", + "_ )_( _ ", + "|`-.___,.-~'`|=|`'~-.,___,-'| ", + "| __________|=|__________ | ", + "| | ______|=|__________| | ___ _ _ _ _ _ ", + "| | | ____|=|_____ / | | |_| |_ | |_ | _ |_ |\\| |\\ /\\ |_ ", + "| | | / |=| / /| | | | | |_ |_ |_ |_| |_ | | |/ \\/ | ", + "| | |/ ,-|_|-. / / /_|_|______ ______ _______ ____ ", + "| | ,' _____ / // / \\ ___ |\\ / \\ `. \\ \\ ", + "| | / ,'| A |/ // / | | \\ | | | | |`. \\ / \\ ", + "| | /_// |/V\\/ // / | | \\| | | | | \\ \\ / /\\ \\ ", + "| | /__| |/ / / | | | | | | \\ | / / \\ \\ ", + "| | /\\ | / /| /\\ | |__/| | | | | | || | | | ", + "| | / \\ |/ // // \\ | __ | | | | | | || |____| | ", + "| | / \\/ |/ // \\ | | \\| | | | | | || ____ | ", + "| | / / // \\ | | | | | | / || | | | ", + "| | / / / /| \\ | | /| | | /| | | / / | | | | ", + "| |/_____/ // / |________\\| |___/ | | |___/ | | |,' / | | | | ", + "| | / // /| | /_________|/_________|/______,' /____\\ /____\\ ", + "\\ \\ / // / | | /|/ /_ ___ ___ _ _ _ _ ___ ", + " \\ \\ / / /| | |______/ | //_\\ | | |\\| |/ |/\\ | |_||_ |_)/_\\(_` | ", + " \\ \\/______| | |________|/ | | |_ | | | |\\ |\\/ | | ||_ | | |._) | ", + " `.`. | | | ,',' ", + " `.`. | | | ,',' _ _ _ _ ", + " `.`-.| | |,-',' |.\\ |.\\ |.\\ |.\\ ", + " `-.| | |,-' \\\\\\ \\\\\\ \\\\\\ \\\\\\ ", + " | | | ________\\\\\\______\\\\\\______\\\\\\______\\\\\\_____________ ", + " | | | | .-- __ __ ,--. __ __ __| _ |", + " | | | | |- / \\ | | | ` `--. | | | / \\ | ` / |(_` |", + " | | | | | \\__/ \\_/| | .__/ \\/ \\/ \\__/ | \\__|._) |", + " | | | '---------------------------------------------------'", + " \\|/ \\\\\\ /| \\\\\\ /| \\\\\\ /| \\\\\\ /| ", + " V __\\\\V / __\\\\V / __\\\\V / __\\\\V / ", + " \\___O/ \\___O/ \\___O/ \\___O/ ", + " \\/\\ \\/\\ \\/\\ \\/\\ ", + " \\/\\ \\/\\ \\/\\ \\/\\ ", + " (O) (O) (O) (O) ", + } +end + +function M.doom_nvim() + return { + " ", + "================= =============== =============== ======== ========", + "\\\\ . . . . . . .\\\\ //. . . . . . .\\\\ //. . . . . . .\\\\ \\\\. . .\\\\// . . //", + "||. . ._____. . .|| ||. . ._____. . .|| ||. . ._____. . .|| || . . .\\/ . . .||", + "|| . .|| ||. . || || . .|| ||. . || || . .|| ||. . || ||. . . . . . . ||", + "||. . || || . .|| ||. . || || . .|| ||. . || || . .|| || . | . . . . .||", + "|| . .|| ||. _-|| ||-_ .|| ||. . || || . .|| ||. _-|| ||-_.|\\ . . . . ||", + "||. . || ||-' || || `-|| || . .|| ||. . || ||-' || || `|\\_ . .|. .||", + "|| . _|| || || || || ||_ . || || . _|| || || || |\\ `-_/| . ||", + "||_-' || .|/ || || \\|. || `-_|| ||_-' || .|/ || || | \\ / |-_.||", + "|| ||_-' || || `-_|| || || ||_-' || || | \\ / | `||", + "|| `' || || `' || || `' || || | \\ / | ||", + "|| .===' `===. .==='.`===. .===' /==. | \\/ | ||", + "|| .==' \\_|-_ `===. .===' _|_ `===. .===' _-|/ `== \\/ | ||", + "|| .==' _-' `-_ `=' _-' `-_ `=' _-' `-_ /| \\/ | ||", + "|| .==' _-' `-__\\._-' `-_./__-' `' |. /| | ||", + "||.==' _-' `' | /==.||", + "==' _-' N E O V I M \\/ `==", + "\\ _-' `-_ /", + " `'' ``' ", + " ", + } +end + return M |