fix vim mode indicator not working
This commit is contained in:
parent
07b9e2f950
commit
dce4b24475
|
@ -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 = [
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user