Spacemacs exit key requires a delay to work

I have a clean installation of spacemacs . When I press escape to enter normal mode, immediately press u to hold the word. If I wait a second, it will undo the last action.

I assume this is an evil-mode or emacs key-chord function in action. How can I change this behavior?

+5
source share
1 answer

Spacemacs, especially the develop branch, should work right out of the box without delay. However, I found that this delay occurs when I run emacs inside tmux . You need to make sure that you are trying to run this inside tmux or screen , and if so, see if this problem occurs when starting emacs directly inside the terminal without a terminal multiplexer.

If tmux is your problem, you can fix it with:

 set -s escape-time 0 

You need to find the equivalent in screen if this is what happens.

See: https://bitbucket.org/lyro/evil/issue/69/delay-between-esc-or-c-and-modeswitch

+9
source

All Articles