From a9c8efa04881395836f283f62091791280d44a26 Mon Sep 17 00:00:00 2001 From: Lorenzo Bolla Date: Mon, 18 Jul 2016 16:06:50 +0100 Subject: [PATCH] Update README --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index f1a0d20..2ce6bd5 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,12 @@ Widgets not in any of these lists will update the suggestion when invoked. **Note:** A widget shouldn't belong to more than one of the above arrays. +### Disabling suggestion for large buffers + +Set `ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE` to an integer value to disable autosuggestion for large buffers. The default is unset, which means that autosuggestion will be tried for any buffer size. Recommended value is 20. +This can be useful when pasting large amount of text in the terminal, to avoid triggering autosuggestion for too long strings. + + ### Key Bindings This plugin provides three widgets that you can use with `bindkey`: