Update README.md

main
Sara 2024-03-21 15:06:14 +00:00
parent bf49f1a0b5
commit 33e9805090
1 changed files with 39 additions and 29 deletions

View File

@ -15,30 +15,30 @@ require'startup'.setup({
highlight = '', highlight = '',
margin = 5, margin = 5,
align = 'center', align = 'center',
-- ascii art modified from Jo's at https://gist.github.com/ShadowJonathan/5f57439f19bea49d27f65717b8dfedf8
content = { content = {
" ▓▓ ▓▓ ▓▓ ", " █ ",
" ▓▓ ▓▓ ▓▓ ", " ▓ █ ▓ ",
" ▒▒ ▒▒ ▒▒ ", " ░█░ ",
" ▒▒ ▒▒ ▒▒ ", " █ ",
"▓▓ ░░░░░░▒▒░░░░░░ ▓▓", " ▓ █ ▓ ",
"▓▓ ░░░░░░▒▒░░░░░░ ▓▓", " █ ▓ █ ▓ █ ",
"▒▒ ▒▒ ▒▒", " ▓ █ ▒ █ ▓ █ ▓ █ ▒ █ ▓ ",
"▒▒ ▒▒ ▒▒", " ▒ ▓ █ ▒ ▓ █ ▓ █ ▓ █ ▓ ▒ █ ▓ ▒ ",
"░░░░░░░░▒▒▒▒▒▒▒▒▒▒░░░░░░░░", " ░ ▒ ▓ █ ▒ ▓ █ ▓ █ ▓ █ ▓ ▒ █ ▓ ▒ ░ ",
"░░░░░░░░▒▒▒▒▒▒▒▒▒▒░░░░░░░░", "░ ░ ▒ ▓ █ ▒ ▓ █ ▓ █ ▓ █ ▓ ▒ █ ▓ ▒ ░ ░",
" ▒▒ ", " ▓ █ ▓ █ ▓ █ ▓ ",
" ▒▒ ", " ▓ ▓ ▓ ▓ ▓ ▓ ",
" ▓▓▒▒░░░░▒▒░░░░▒▒▓▓ ", " ▒ ▓ ▒ ▓ ▓ ▓ ▒ ▓ ▒ ",
" ▓▓▒▒░░░░▒▒░░░░▒▒▓▓ ", " ░▒▓▒░ ▒ ▒ ▒ ░▒▓▒░ ",
" ▒▒ ▒▒ ", " ▓ ▓ ░░░▒░░░ ▓ ▓ ",
" ▒▒ ▒▒ ", " ▓ ▒ ▒ ▒ ▓ ",
" ▒▒ ▒▒ ", " ▒ ░░░░▒▒▒▒▒░░░░ ▒ ",
" ▒▒ ▒▒ ", " ▒ ▒ ▒ ",
" ▒▒ ▒▒ ", " ░ ▓▒░░▒░░▒▓ ░ ",
" ▒▒ ▒▒ ", " ░ ▒ ▒ ░ ",
" ▒▒▒▒▒▒ ", " ▒ ▒ ",
" ▒▒▒▒▒▒ ", " ▒ ▒ ",
" ▒▒▒ ",
}, },
oldfiles_amount = 0 oldfiles_amount = 0
}, },
@ -49,6 +49,16 @@ require'startup'.setup({
highlight = '', highlight = '',
default_color = '#CCCCCC', default_color = '#CCCCCC',
}, },
piano = {
type = 'text',
align = 'center',
highlight = '',
default_color = '#FF0000',
content = {
"░▓░▓░░▓░▓░▓░░▓░▓░░▓░▓░▓░░",
"░░░░░░░░░░░░░░░░░░░░░░░░░",
}
},
body = { body = {
type = 'mapping', type = 'mapping',
oldfiles_directory = false, oldfiles_directory = false,
@ -57,12 +67,12 @@ require'startup'.setup({
title = 'Commands', title = 'Commands',
margin = 0, margin = 0,
content = { content = {
{'File picker', 'Telescope find_files', '<leader>f'}, -- requires telescope {'Find files', 'Telescope find_files', '<leader>f'}, -- requires telescope
{'Recent files', 'Telescope oldfiles', '<leader>r'}, -- requires telescope {'Recent files', 'Telescope oldfiles', '<leader>r'}, -- requires telescope
{'File browser', 'Telescope file_browser', '<leader>b'}, -- requires telescope and file_browser {'Browse files', 'Telescope file_browser', '<leader>b'}, -- requires telescope and file_browser
{'New file', "lua require'startup'.new_file()", '<leader>n'}, {'Git commits', 'Telescope git_commits', '<leader>l'}, -- requires telescope
{'Git status', 'Telescope git_status', '<leader>s'}, -- requires telescope {'Git status', 'Telescope git_status', '<leader>s'}, -- requires telescope
{'Git log', 'Telescope git_commits', '<leader>l'}, -- requires telescope {'New file', "lua require'startup'.new_file()", '<leader>n'},
}, },
highlight = '', highlight = '',
default_color = '#BF0000', default_color = '#BF0000',
@ -72,7 +82,7 @@ require'startup'.setup({
mapping_keys = true, mapping_keys = true,
disable_statuslines = true, disable_statuslines = true,
cursor_column = 0.5, cursor_column = 0.5,
paddings = { 10, 2, 5, 0} paddings = { 10, 1, 1, 0}
}, },
mappings = { mappings = {
execute_command = '<CR>', execute_command = '<CR>',
@ -84,6 +94,6 @@ require'startup'.setup({
colors = { colors = {
background = '#00000000' background = '#00000000'
}, },
parts = {'keygen_church', 'praise', 'body'} parts = {'keygen_church', 'praise', 'body', 'piano'}
}) })
``` ```