n-functions.conf 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Which editor to use, zed or vared
  2. # vared is the default
  3. local feditor="zed"
  4. # local feditor="vared"
  5. # How should be current element of the list drawn. Possible values: reverse,
  6. # underline.
  7. # On Linux virtual terminal this will be enforced to reverse (because of poor
  8. # underline support on that terminal). The same for screen/tmux.
  9. local active_text=reverse
  10. #
  11. # Zshrc integration. All below variables can
  12. # be set in zshrc and will have precedence
  13. # over config files
  14. #
  15. # 1. znt_functions_feditor
  16. feditor=${znt_functions_feditor:-$feditor}
  17. # 2. znt_functions_active_text
  18. active_text=${znt_functions_active_text:-$active_text}
  19. # 3. znt_functions_nlist_coloring_pattern
  20. NLIST_COLORING_PATTERN=${znt_functions_nlist_coloring_pattern:-$NLIST_COLORING_PATTERN}
  21. # 4. znt_functions_nlist_coloring_color
  22. NLIST_COLORING_COLOR=${znt_functions_nlist_coloring_color:-$NLIST_COLORING_COLOR}
  23. # 5. znt_functions_nlist_coloring_match_multiple
  24. NLIST_COLORING_MATCH_MULTIPLE=${znt_functions_nlist_coloring_match_multiple:-$NLIST_COLORING_MATCH_MULTIPLE}
  25. # 6. znt_functions_keywords (array)
  26. if (( ${+znt_functions_keywords} )); then
  27. keywords=( "${znt_functions_keywords[@]}" )
  28. fi