Compare commits

..

2 commits

Author SHA1 Message Date
747ca94eaf add initial astronvim config 2022-11-11 21:41:26 -06:00
15f04034ba use normal characters for print-epoch 2022-11-11 21:41:12 -06:00
5 changed files with 96 additions and 1 deletions

View file

@ -20,7 +20,8 @@ spacing() {
} }
epoch=$(print-time "$(date +'%s')") # epoch=$(print-time "$(date +'%s')")
epoch=$(date +'%s')
side=$(spacing $(((COLUMNS - (${#epoch} + 6)) / 2))) side=$(spacing $(((COLUMNS - (${#epoch} + 6)) / 2)))
print-line() { print-line() {

View file

@ -0,0 +1,29 @@
return {
[[ _______________________________________ ]],
[[ |,---"-----------------------------"---,| ]],
[[ ||___ 16 bit.................... || ]],
[[ ||====\ :HHHHHHHHHHHHHHHHHHHHHHHHHHH || ]],
[[ ||=====):H c> nvim H || ]],
[[ ||====/ :H H || ]],
[[ || :H H || ]],
[[ ||PORTFO:H H || ]],
[[ || :HHHHHHHHHHHHHHHHHHHHHHHHHHH || ]],
[[ ||_____,_________________________,_____|| ]],
[[ |)_____)-----.| /I\ATARI |.------(_____(| ]],
[[ //"""""""|_____|=----------=|______|"""""""\ ]],
[[ // _| _| _| _| _| _| _| _| _| _| _| _| _| _| \ ]],
[[ // ___| _| _| _| _| _| _| _| _| _| _| _| | | \ ]],
[[ |/ ___| _| _| _| _| _| _| _| _| _| _| _| ______| \ ]],
[[ / __| _| _| _| _| _| _| _| _| _| _| _| _| _| ___| \ ]],
[[ / _| _| _| _| ________________________| _| _| _| _| \ ]],
[[|------"--------------------------------------"-------|]],
[[`-----------------------------------------------------']],
}
-- simpler header
--[[
]] --

View file

@ -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

View file

@ -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"
["<leader>bb"] = { "<cmd>tabnew<cr>", desc = "New tab" },
["<leader>bc"] = { "<cmd>BufferLinePickClose<cr>", desc = "Pick to close" },
["<leader>bj"] = { "<cmd>BufferLinePick<cr>", desc = "Pick to jump" },
["<leader>bt"] = { "<cmd>BufferLineSortByTabs<cr>", desc = "Sort by tabs" },
["<leader>bp"] = { "<cmd>:bp<cr>", desc = "Previous Buffer" },
},
t = {
-- setting a mapping to false will disable it
-- ["<esc>"] = false,
},
}

View file

@ -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,
},
}