From a37b8a4693518323b5fcd471fceecf32b6320534 Mon Sep 17 00:00:00 2001 From: aszlig Date: Mon, 10 Feb 2020 06:06:56 +0100 Subject: programs/zsh: Set key timeout to 0.01 seconds Since I'm using Vi keybindings, pressing the Escape key is something I do rather frequently. Having to wait for roughly a second after that gets pretty annoying after a while, so let's set the timeout to 0.01 seconds. This should usually be "small enough" to not interfere with other key sequences resulting in escape characters, but let's see how this will play out after a while. Signed-off-by: aszlig --- modules/user/aszlig/programs/zsh/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') diff --git a/modules/user/aszlig/programs/zsh/default.nix b/modules/user/aszlig/programs/zsh/default.nix index e66be125..a97e000a 100644 --- a/modules/user/aszlig/programs/zsh/default.nix +++ b/modules/user/aszlig/programs/zsh/default.nix @@ -60,6 +60,7 @@ in { export HISTFILE=~/.histfile export HISTSIZE=100000 export SAVEHIST=100000 + export KEYTIMEOUT=1 bindkey -v if [[ "$TERM" = xterm ]]; then -- cgit 1.4.1