doc faq: Document how to fix the "insert mode escape lag"

This commit is contained in:
Frank LENORMAND 2017-09-11 21:59:21 +03:00
parent c859cb57dc
commit 4519e4f96b

View File

@ -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: work is to add the following line to your `tmux` configuration file:
`set -sg default-terminal screen-256color` `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 `=` ? How do I automatically indent code, as Vim does with `=` ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~