From fbd9b681ff35c9dca7075633301b70635f6f4b11 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Wed, 28 Feb 2018 03:07:39 +0100 Subject: [PATCH] Doc: new FAQ: How to disable single mappings? Closes #303 --- doc/startify.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/startify.txt b/doc/startify.txt index e086cc0..4835301 100644 --- a/doc/startify.txt +++ b/doc/startify.txt @@ -807,6 +807,7 @@ FAQ *startify-faq* |startify-faq-13| How to disable random quotes header? |startify-faq-14| NERDTree with NERDTreeTabs does not work in gvim! |startify-faq-15| Startify is cluttered with help files! + |startify-faq-16| How to disable single mappings? ------------------------------------------------------------------------------ *startify-faq-01* @@ -1012,6 +1013,15 @@ This works for most use cases, but not for all. If the default fails for you and the Startify buffer is cluttered with help files, add that path to the skiplist yourself: |g:startify_skiplist|. +------------------------------------------------------------------------------ + *startify-faq-16* +How to disable single mappings?~ + +Use |startify-autocmd|: +> + autocmd User Startified for key in ['b','s','t','v'] | + \ execute 'nunmap ' key | endfor +< ============================================================================== EXAMPLE *startify-example*