Compare commits
2 commits
5306f87db9
...
747ca94eaf
Author | SHA1 | Date | |
---|---|---|---|
747ca94eaf | |||
15f04034ba |
5 changed files with 96 additions and 1 deletions
|
@ -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() {
|
||||||
|
|
29
home/private_dot_config/astronvim/lua/user/header.lua
Normal file
29
home/private_dot_config/astronvim/lua/user/header.lua
Normal 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
|
||||||
|
--[[
|
||||||
|
╦ ╦ ╦╔╗╔╔═╗╦═╗╦ ╦╦╔╦╗
|
||||||
|
║ ║ ║║║║╠═╣╠╦╝╚╗╔╝║║║║
|
||||||
|
╩═╝╚═╝╝╚╝╩ ╩╩╚═ ╚╝ ╩╩ ╩
|
||||||
|
]] --
|
11
home/private_dot_config/astronvim/lua/user/init.lua
Normal file
11
home/private_dot_config/astronvim/lua/user/init.lua
Normal 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
|
21
home/private_dot_config/astronvim/lua/user/mappings.lua
Normal file
21
home/private_dot_config/astronvim/lua/user/mappings.lua
Normal 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,
|
||||||
|
},
|
||||||
|
}
|
33
home/private_dot_config/astronvim/lua/user/plugins/init.lua
Normal file
33
home/private_dot_config/astronvim/lua/user/plugins/init.lua
Normal 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,
|
||||||
|
},
|
||||||
|
}
|
Loading…
Reference in a new issue