Update README.md

main
Sara 2024-03-21 15:36:22 +00:00
parent a4ce5f0a63
commit 8d0166c91e
1 changed files with 28 additions and 16 deletions

View File

@ -27,6 +27,15 @@ require'startup'.setup({
" ░ ▒ ▓ █ ▒ ▓ █ ▓ █ ▓ █ ▓ ▒ █ ▓ ▒ ░ ",
"░ ░ ▒ ▓ █ ▒ ▓ █ ▓ █ ▓ █ ▓ ▒ █ ▓ ▒ ░ ░",
" ▓ █ ▓ █ ▓ █ ▓ ",
},
oldfiles_amount = 0
},
lower = {
type = 'text',
align = 'center',
highlight = '',
default_color = '#FF0000',
content = {
" ▓ ▓ ▓ ▓ ▓ ▓ ",
" ▒ ▓ ▒ ▓ ▓ ▓ ▒ ▓ ▒ ",
" ░▒▓▒░ ▒ ▒ ▒ ░▒▓▒░ ",
@ -39,8 +48,17 @@ require'startup'.setup({
" ▒ ▒ ",
" ▒ ▒ ",
" ▒▒▒ ",
},
oldfiles_amount = 0
}
},
piano = {
type = 'text',
align = 'center',
highlight = '',
default_color = '#FF0000',
content = {
" ░▓░▓░░▓░▓░▓░░▓░▓░░▓░▓░▓░░ ",
" ░░░░░░░░░░░░░░░░░░░░░░░░░ ",
}
},
praise = {
type = 'text',
@ -49,16 +67,6 @@ require'startup'.setup({
highlight = '',
default_color = '#CCCCCC',
},
piano = {
type = 'text',
align = 'center',
highlight = '',
default_color = '#FF0000',
content = {
"░▓░▓░░▓░▓░▓░░▓░▓░░▓░▓░▓░░",
"░░░░░░░░░░░░░░░░░░░░░░░░░",
}
},
body = {
type = 'mapping',
oldfiles_directory = false,
@ -67,10 +75,10 @@ require'startup'.setup({
title = 'Commands',
margin = 0,
content = {
{'Find files', 'Telescope find_files', '<leader>f'}, -- requires telescope
{'Open files', 'Telescope find_files', '<leader>f'}, -- requires telescope
{'Recent files', 'Telescope oldfiles', '<leader>r'}, -- requires telescope
{'Browse files', 'Telescope file_browser', '<leader>b'}, -- requires telescope and file_browser
{'Git commits', 'Telescope git_commits', '<leader>l'}, -- requires telescope
{'Git log', 'Telescope git_commits', '<leader>l'}, -- requires telescope
{'Git status', 'Telescope git_status', '<leader>s'}, -- requires telescope
{'New file', "lua require'startup'.new_file()", '<leader>n'},
},
@ -82,7 +90,7 @@ require'startup'.setup({
mapping_keys = true,
disable_statuslines = true,
cursor_column = 0.5,
paddings = { 10, 1, 1, 0}
paddings = { 14, 0, 1, 0, 0 }
},
mappings = {
execute_command = '<CR>',
@ -94,6 +102,10 @@ require'startup'.setup({
colors = {
background = '#00000000'
},
parts = {'keygen_church', 'praise', 'body', 'piano'}
-- change the order for sections here
-- for example: put lower after body to 'wrap' the menu in the acii art
-- make sure to also check the paddings to make sure they work
parts = {'keygen_church', 'lower', 'praise', 'body', 'piano'}
})
```