From 236996f55b38ac99323865b6966de2d6814e9a59 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Wed, 18 Sep 2013 22:22:04 +0200 Subject: [PATCH] Doc: add nice custom header example --- doc/startify.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/startify.txt b/doc/startify.txt index 36db2af..1d2cfa9 100644 --- a/doc/startify.txt +++ b/doc/startify.txt @@ -287,7 +287,14 @@ Every string will be written on its own line. NOTE: If a string contains ', you have to quote it with another '. -Example: + +A programmatic example: + + let g:startify_custom_header = + \ map(split(system('fortune | cowsay'), '\n'), '" ". v:val') + ['',''] + + +A hardcoded example: let g:startify_custom_header = [ \ ' __ ___ ______ ____ ',