summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank LENORMAND <lenormf@gmail.com>2017-09-11 21:59:21 +0300
committerFrank LENORMAND <lenormf@gmail.com>2017-09-11 21:59:21 +0300
commit4519e4f96bdf040650bf4ecbe3fbfe9977850171 (patch)
treedeaaa2958b0106741dc1bd08f81a118f1b8bcb11
parentc859cb57dccbd8809d77dbf6d9000e08a2d5bcbb (diff)
doc faq: Document how to fix the "insert mode escape lag"
-rw-r--r--doc/manpages/faq.asciidoc8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/manpages/faq.asciidoc b/doc/manpages/faq.asciidoc
index 71fcc8aa..cd43fa02 100644
--- a/doc/manpages/faq.asciidoc
+++ b/doc/manpages/faq.asciidoc
@@ -72,6 +72,14 @@ Note that if you're using `tmux`, the proper -official- way to get Kakoune to
work is to add the following line to your `tmux` configuration file:
`set -sg default-terminal screen-256color`
+Why does leaving insert mode take more than half a second in `tmux` ?
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Upon hitting the escape key, `tmux` waits for a short period of time to
+determine whether it's part of a function or a meta key sequence. In order
+to fix this "lag", set the waiting period in your `tmux` configuration file
+to a short time, e.g. 25ms: `set -sg escape-time 25`
+
How do I automatically indent code, as Vim does with `=` ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~