Guest User

Untitled

a guest
Nov 15th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. function fish_mode_prompt --description 'Displays the current mode'
  2. # Do nothing if not in vi mode
  3. if test "$fish_key_bindings" = "fish_vi_key_bindings"
  4. switch $fish_bind_mode
  5. case default
  6. set_color --bold red
  7. echo 🅽
  8. case insert
  9. # set_color --bold green
  10. # echo 🅸
  11. case replace-one
  12. set_color --bold green
  13. echo 🆁
  14. case visual
  15. set_color --bold brmagenta
  16. echo 🆅
  17. end
  18. if test $fish_bind_mode != insert
  19. set_color normal
  20. printf " "
  21. end
  22. end
  23. end
Add Comment
Please, Sign In to add comment