fix vim mode indicator not working
This commit is contained in:
parent
07b9e2f950
commit
dce4b24475
|
@ -13,12 +13,6 @@
|
||||||
};
|
};
|
||||||
envExtra = ''
|
envExtra = ''
|
||||||
PROMPT=$'%B%n%b@%B%m%b: %~\nλ '
|
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 BROWSER=firefox
|
||||||
export XINITRC="${common.homeDir}/bin/xinitrc"
|
export XINITRC="${common.homeDir}/bin/xinitrc"
|
||||||
export XAUTHORITY="${common.homeDir}/.local/share/Xauthority"
|
export XAUTHORITY="${common.homeDir}/.local/share/Xauthority"
|
||||||
|
@ -56,6 +50,13 @@
|
||||||
shell() { nix-subcommand "shell" "$@" }
|
shell() { nix-subcommand "shell" "$@" }
|
||||||
run() { nix-subcommand "run" "$@" }
|
run() { nix-subcommand "run" "$@" }
|
||||||
build() { nix-subcommand "build" "$@" }
|
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 = [
|
plugins = [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user