mhinz / vim-startify

:link: The fancy start screen for Vim.
MIT License
5.3k stars 186 forks source link

User contribution of a custom header #513

Open Jarhmander opened 2 years ago

Jarhmander commented 2 years ago

Some people (me) might prefer a (arguably(?)) simple, nifty looking ASCII art instead of a cow.

I hereby contribute by sharing my custom header.

    let ascii_art = [
     \ '   __     _                     ',
     \ '  /\ \  /| |                    ',
     \ '  \ \ \ || |                    ',
     \ '   \ \ \|| | __   __            ',
     \ '    \ \ \| |/\_\ /\ `¯¯`v¯¯`\   ',
     \ '     \ \   |\/\¯\\ \ \¯\ \¯\ \  ',
     \ '      \ \__| \ \_\\ \_\ \_\ \_\ ',
     \ '       \/_/   \/_/ \/_/\/_/\/_/ ',
     \ '']

Then set g:startify_custom_header to ascii_art or some other special combination of other elements; my line is let g:startify_custom_header = startify#pad(ascii_art + startify#fortune#boxed()).

Feel free to use or include in the plugin in whatever form seems appropriate.

License: WTFPL or whatever appropriate.