grace/dots
dotfiles/nix configs
git clone https://git.gae.moe/grace/dots
9c3d491
main
1function fish_default_mode_prompt--description "Display vi/helix prompt mode" 2# Do nothing if not in vi mode 3if test " $fish_key_bindings " = fish_vi_key_bindings 4or test " $fish_key_bindings " = fish_helix_key_bindings 5or test " $fish_key_bindings " = fish_hybrid_key_bindings 6switch $fish_bind_mode 7case default 8set_color --bold red 9echo '[N]' 10case insert 11set_color --bold green 12echo '[I]' 13case replace_one 14set_color --bold green 15echo '[R]' 16case replace 17set_color --bold cyan 18echo '[R]' 19case visual 20set_color --bold magenta 21echo '[V]' 22end 23set_color --reset 24echo -n ' ' 25end 26end