diff --git a/home-manager/shell.nix b/home-manager/shell.nix index 45fdf89..baa2001 100644 --- a/home-manager/shell.nix +++ b/home-manager/shell.nix @@ -13,12 +13,6 @@ }; envExtra = '' PROMPT=$'%B%n%b@%B%m%b: %~\nλ ' - KEYTIMEOUT=1 - MODE_INDICATOR_VICMD='%K{10}%F{8}%B NORMAL %k%f%b' - MODE_INDICATOR_REPLACE='%K{9}%F{8}%B REPLACE %k%f%b' - MODE_INDICATOR_SEARCH='%K{13}%F{8}%B SEARCH %k%f%b' - MODE_INDICATOR_VISUAL='%K{12}%F{8}%B VISUAL %k%f%b' - MODE_INDICATOR_VLINE='%K{12}%F{8}%B V-LINE %k%f%b' export BROWSER=firefox export XINITRC="${common.homeDir}/bin/xinitrc" export XAUTHORITY="${common.homeDir}/.local/share/Xauthority" @@ -56,6 +50,13 @@ shell() { nix-subcommand "shell" "$@" } run() { nix-subcommand "run" "$@" } build() { nix-subcommand "build" "$@" } + + KEYTIMEOUT=1 + MODE_INDICATOR_VICMD='%K{10}%F{8}%B NORMAL %k%f%b' + MODE_INDICATOR_REPLACE='%K{9}%F{8}%B REPLACE %k%f%b' + MODE_INDICATOR_SEARCH='%K{13}%F{8}%B SEARCH %k%f%b' + MODE_INDICATOR_VISUAL='%K{12}%F{8}%B VISUAL %k%f%b' + MODE_INDICATOR_VLINE='%K{12}%F{8}%B V-LINE %k%f%b' ''; plugins = [ {