diff --git a/home/private_dot_config/astronvim/lua/user/header.lua b/home/private_dot_config/astronvim/lua/user/header.lua new file mode 100644 index 0000000..cd9527e --- /dev/null +++ b/home/private_dot_config/astronvim/lua/user/header.lua @@ -0,0 +1,29 @@ +return { + [[ _______________________________________ ]], + [[ |,---"-----------------------------"---,| ]], + [[ ||___ 16 bit.................... || ]], + [[ ||====\ :HHHHHHHHHHHHHHHHHHHHHHHHHHH || ]], + [[ ||=====):H c> nvim H || ]], + [[ ||====/ :H H || ]], + [[ || :H H || ]], + [[ ||PORTFO:H H || ]], + [[ || :HHHHHHHHHHHHHHHHHHHHHHHHHHH || ]], + [[ ||_____,_________________________,_____|| ]], + [[ |)_____)-----.| /I\ATARI |.------(_____(| ]], + [[ //"""""""|_____|=----------=|______|"""""""\ ]], + [[ // _| _| _| _| _| _| _| _| _| _| _| _| _| _| \ ]], + [[ // ___| _| _| _| _| _| _| _| _| _| _| _| | | \ ]], + [[ |/ ___| _| _| _| _| _| _| _| _| _| _| _| ______| \ ]], + [[ / __| _| _| _| _| _| _| _| _| _| _| _| _| _| ___| \ ]], + [[ / _| _| _| _| ________________________| _| _| _| _| \ ]], + [[|------"--------------------------------------"-------|]], + [[`-----------------------------------------------------']], +} + + +-- simpler header +--[[ +╦ ╦ ╦╔╗╔╔═╗╦═╗╦ ╦╦╔╦╗ +║ ║ ║║║║╠═╣╠╦╝╚╗╔╝║║║║ +╩═╝╚═╝╝╚╝╩ ╩╩╚═ ╚╝ ╩╩ ╩ +]] -- diff --git a/home/private_dot_config/astronvim/lua/user/init.lua b/home/private_dot_config/astronvim/lua/user/init.lua new file mode 100644 index 0000000..693d660 --- /dev/null +++ b/home/private_dot_config/astronvim/lua/user/init.lua @@ -0,0 +1,11 @@ +local config = { + colorscheme = "catppuccin", + + -- This function is run last and is a good place to configuring + -- augroups/autocommands and custom filetypes also this just pure lua so + -- anything that doesn't fit in the normal config locations above can go here + --polish = function() + --end, +} + +return config diff --git a/home/private_dot_config/astronvim/lua/user/mappings.lua b/home/private_dot_config/astronvim/lua/user/mappings.lua new file mode 100644 index 0000000..5a7369c --- /dev/null +++ b/home/private_dot_config/astronvim/lua/user/mappings.lua @@ -0,0 +1,21 @@ +-- Mapping data with "desc" stored directly by vim.keymap.set(). +-- +-- Please use this mappings table to set keyboard mapping since this is the +-- lower level configuration and more robust one. (which-key will +-- automatically pick-up stored data by this setting.) +return { + -- first key is the mode + n = { + -- second key is the lefthand side of the map + -- mappings seen under group name "Buffer" + ["bb"] = { "tabnew", desc = "New tab" }, + ["bc"] = { "BufferLinePickClose", desc = "Pick to close" }, + ["bj"] = { "BufferLinePick", desc = "Pick to jump" }, + ["bt"] = { "BufferLineSortByTabs", desc = "Sort by tabs" }, + ["bp"] = { ":bp", desc = "Previous Buffer" }, + }, + t = { + -- setting a mapping to false will disable it + -- [""] = false, + }, +} diff --git a/home/private_dot_config/astronvim/lua/user/plugins/init.lua b/home/private_dot_config/astronvim/lua/user/plugins/init.lua new file mode 100644 index 0000000..cfb421c --- /dev/null +++ b/home/private_dot_config/astronvim/lua/user/plugins/init.lua @@ -0,0 +1,33 @@ +return { + { + "quarto-dev/quarto-vim", + requires = { + { "vim-pandoc/vim-pandoc-syntax" }, + }, + ft = { "quarto" }, + }, + { 'xiyaowong/nvim-transparent', + config = function() + -- todo: move to separate file + require("transparent").setup({ + enable = true, -- boolean: enable transparent + extra_groups = { -- table/string: additional groups that should be cleared + -- In particular, when you set it to 'all', that means all available groups + -- example of akinsho/nvim-bufferline.lua + "BufferLineTabClose", + "BufferlineBufferSelected", + "BufferLineFill", + "BufferLineBackground", + "BufferLineSeparator", + "BufferLineIndicatorSelected", + }, + exclude = {}, -- table: groups you don't want to clear + }) + end + }, + { "catppuccin/nvim", as = "catppuccin", + config = function() + require("catppuccin").setup {} + end, + }, +}