From a56917282b58c047c64d560aada4029dafeb05ff Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Tue, 12 Mar 2019 23:46:11 +0100 Subject: [PATCH] FAQ: running Startify on a new tab can lead to issues References https://github.com/mhinz/vim-startify/issues/358 --- doc/startify.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/startify.txt b/doc/startify.txt index 725124a..2ee30cd 100644 --- a/doc/startify.txt +++ b/doc/startify.txt @@ -1114,6 +1114,12 @@ Run Startify for each new tab!~ \ endif endif < +NOTE: I do not recommend this. It can lead to all kinds of issues, so you +should know exactly what the above code does. E.g. any plugin using |:tabnew| +is probably expecting an empty buffer afterwards, but it won't be empty, it +will be filled with the Startify buffer and fail. I suggest mapping +`:Startify` to something convenient instead. + ------------------------------------------------------------------------------ *startify-faq-18* Files from remote file system slow down startup!~