@@ -115,57 +115,48 @@ local starter = require "mini.starter"
115115
116116M .starter = {
117117 evaluate_single = false ,
118+
118119 header = table.concat ({
119120 " " ,
121+ " ╔════════╗ " ,
122+ " ║ p w n ║ " ,
123+ " ╚════════╝ " ,
124+ " > build. exploit. repeat." ,
120125 " " ,
121- " " ,
122- " ⣴⣶⣤⡤⠦⣤⣀⣤⠆ ⣈⣭⣿⣶⣿⣦⣼⣆ " ,
123- " ⠉⠻⢿⣿⠿⣿⣿⣶⣦⠤⠄⡠⢾⣿⣿⡿⠋⠉⠉⠻⣿⣿⡛⣦ " ,
124- " ⠈⢿⣿⣟⠦ ⣾⣿⣿⣷ ⠻⠿⢿⣿⣧⣄ " ,
125- " ⣸⣿⣿⢧ ⢻⠻⣿⣿⣷⣄⣀⠄⠢⣀⡀⠈⠙⠿⠄ " ,
126- " ⢠⣿⣿⣿⠈ ⣻⣿⣿⣿⣿⣿⣿⣿⣛⣳⣤⣀⣀ " ,
127- " ⢠⣧⣶⣥⡤⢄ ⣸⣿⣿⠘ ⢀⣴⣿⣿⡿⠛⣿⣿⣧⠈⢿⠿⠟⠛⠻⠿⠄ " ,
128- " ⣰⣿⣿⠛⠻⣿⣿⡦⢹⣿⣷ ⢊⣿⣿⡏ ⢸⣿⣿⡇ ⢀⣠⣄⣾⠄ " ,
129- " ⣠⣿⠿⠛ ⢀⣿⣿⣷⠘⢿⣿⣦⡀ ⢸⢿⣿⣿⣄ ⣸⣿⣿⡇⣪⣿⡿⠿⣿⣷⡄ " ,
130- " ⠙⠃ ⣼⣿⡟ ⠈⠻⣿⣿⣦⣌⡇⠻⣿⣿⣷⣿⣿⣿ ⣿⣿⡇ ⠛⠻⢷⣄ " ,
131- " ⢻⣿⣿⣄ ⠈⠻⣿⣿⣿⣷⣿⣿⣿⣿⣿⡟ ⠫⢿⣿⡆ " ,
132- " ⠻⣿⣿⣿⣿⣶⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⡟⢀⣀⣤⣾⡿⠃ " ,
133- " " , }, " \n " ),
134- footer = os.date (" %B %d, %I:%M %p" ),
126+ }, " \n " ),
127+
128+ footer = " cwd: " .. vim .fn .fnamemodify (vim .fn .getcwd (), " :t" ),
129+
135130 items = {
136131 {
137- name = " Bookmarked Files" ,
138- action = " lua MiniExtra.pickers.visit_paths { filter = 'todo' }" ,
139- section = " Actions " ,
140- },
141- {
142- name = " Lazy Update" ,
143- action = " :Lazy update" ,
144- section = " Actions " ,
132+ name = " Find files" ,
133+ action = " lua MiniPick.builtin.files()" ,
134+ section = " start " ,
145135 },
146136 {
147- name = " Open Blank File " ,
148- action = " :enew " ,
149- section = " Actions " ,
137+ name = " Recent " ,
138+ action = " lua MiniExtra.pickers.oldfiles() " ,
139+ section = " start " ,
150140 },
151141 {
152- name = " Find Files " ,
153- action = " lua MiniPick.builtin.files() " ,
154- section = " Actions " ,
142+ name = " Nvim config " ,
143+ action = " edit $MYVIMRC " ,
144+ section = " start " ,
155145 },
156146 {
157- name = " Recent Files " ,
158- action = " lua MiniExtra.pickers.oldfiles ()" ,
159- section = " Actions " ,
147+ name = " Projects " ,
148+ action = " lua MiniPick.builtin.grep_live ()" ,
149+ section = " work " ,
160150 },
161151 {
162- name = " Quit" ,
163- action = " :q! " ,
164- section = " Actions " ,
152+ name = " Quit" ,
153+ action = " qa " ,
154+ section = " exit " ,
165155 },
166156 },
157+
167158 content_hooks = {
168- starter .gen_hook .aligning (" center" , " center" ),
159+ require ( " mini. starter" ) .gen_hook .aligning (" center" , " center" ),
169160 },
170161}
171162
0 commit comments