Pārlūkot izejas kodu

Doc: new FAQ: How to disable single mappings?

Closes #303
Marco Hinz 7 gadi atpakaļ
vecāks
revīzija
fbd9b681ff
1 mainītis faili ar 10 papildinājumiem un 0 dzēšanām
  1. 10 0
      doc/startify.txt

+ 10 - 0
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 <buffer>' key | endfor
+<
 ==============================================================================
 EXAMPLE                                                       *startify-example*