2024-03-20 21:33:19 +00:00
|
|
|
# PRAISE THE CODE
|
|
|
|
|
2024-03-20 21:34:45 +00:00
|
|
|
Assumes a pretty big display, might need some adjustment for your own screen.
|
|
|
|
|
2024-03-20 21:36:01 +00:00
|
|
|
![screenshot](2024-03-20_22-03-1710970288.png)
|
|
|
|
|
|
|
|
```lua
|
|
|
|
require'startup'.setup({
|
|
|
|
keygen_church = {
|
|
|
|
type = 'text',
|
|
|
|
title = 'PRAISE THE CODE',
|
|
|
|
oldfiles_directory = false,
|
|
|
|
fold_section = false,
|
|
|
|
default_color = '#FF0000',
|
|
|
|
highlight = '',
|
|
|
|
margin = 5,
|
|
|
|
align = 'center',
|
2024-03-21 10:02:19 +00:00
|
|
|
-- ascii art modified from Jo's at https://gist.github.com/ShadowJonathan/5f57439f19bea49d27f65717b8dfedf8
|
2024-03-20 21:36:01 +00:00
|
|
|
content = {
|
2024-03-21 10:00:09 +00:00
|
|
|
" ▓▓ ▓▓ ▓▓ ",
|
|
|
|
" ▓▓ ▓▓ ▓▓ ",
|
|
|
|
" ▒▒ ▒▒ ▒▒ ",
|
|
|
|
" ▒▒ ▒▒ ▒▒ ",
|
|
|
|
"▓▓ ░░░░░░▒▒░░░░░░ ▓▓",
|
|
|
|
"▓▓ ░░░░░░▒▒░░░░░░ ▓▓",
|
|
|
|
"▒▒ ▒▒ ▒▒",
|
|
|
|
"▒▒ ▒▒ ▒▒",
|
|
|
|
"░░░░░░░░▒▒▒▒▒▒▒▒▒▒░░░░░░░░",
|
|
|
|
"░░░░░░░░▒▒▒▒▒▒▒▒▒▒░░░░░░░░",
|
|
|
|
" ▒▒ ",
|
|
|
|
" ▒▒ ",
|
|
|
|
" ▓▓▒▒░░░░▒▒░░░░▒▒▓▓ ",
|
|
|
|
" ▓▓▒▒░░░░▒▒░░░░▒▒▓▓ ",
|
|
|
|
" ▒▒ ▒▒ ",
|
|
|
|
" ▒▒ ▒▒ ",
|
|
|
|
" ▒▒ ▒▒ ",
|
|
|
|
" ▒▒ ▒▒ ",
|
|
|
|
" ▒▒ ▒▒ ",
|
|
|
|
" ▒▒ ▒▒ ",
|
|
|
|
" ▒▒▒▒▒▒ ",
|
|
|
|
" ▒▒▒▒▒▒ ",
|
2024-03-20 21:36:01 +00:00
|
|
|
},
|
|
|
|
oldfiles_amount = 0
|
|
|
|
},
|
|
|
|
praise = {
|
|
|
|
type = 'text',
|
|
|
|
content = {'PRAISE THE CODE'},
|
|
|
|
align = 'center',
|
|
|
|
highlight = '',
|
|
|
|
default_color = '#CCCCCC',
|
|
|
|
},
|
|
|
|
body = {
|
|
|
|
type = 'mapping',
|
|
|
|
oldfiles_directory = false,
|
|
|
|
align = 'center',
|
|
|
|
fold_section = false,
|
|
|
|
title = 'Commands',
|
|
|
|
margin = 0,
|
|
|
|
content = {
|
|
|
|
{'File picker', 'Telescope find_files', '<leader>f'}, -- requires telescope
|
|
|
|
{'Recent files', 'Telescope oldfiles', '<leader>r'}, -- requires telescope
|
|
|
|
{'File browser', 'Telescope file_browser', '<leader>b'}, -- requires telescope and file_browser
|
|
|
|
{'New file', "lua require'startup'.new_file()", '<leader>n'},
|
|
|
|
{'Git status', 'Telescope git_status', '<leader>s'}, -- requires telescope
|
|
|
|
{'Git log', 'Telescope git_commits', '<leader>l'}, -- requires telescope
|
|
|
|
},
|
|
|
|
highlight = '',
|
|
|
|
default_color = '#BF0000',
|
|
|
|
oldfiles_amount = 0
|
|
|
|
},
|
|
|
|
options = {
|
|
|
|
mapping_keys = true,
|
|
|
|
disable_statuslines = true,
|
|
|
|
cursor_column = 0.5,
|
|
|
|
paddings = { 10, 2, 5, 0}
|
|
|
|
},
|
|
|
|
mappings = {
|
|
|
|
execute_command = '<CR>',
|
|
|
|
open_file = 'o',
|
|
|
|
open_file_split = '<c-o>',
|
|
|
|
open_section = '<TAB>',
|
|
|
|
open_help = '?',
|
|
|
|
},
|
|
|
|
colors = {
|
|
|
|
background = '#00000000'
|
|
|
|
},
|
|
|
|
parts = {'keygen_church', 'praise', 'body'}
|
|
|
|
})
|
|
|
|
```
|