]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/zsh-navigation-tools/.config/znt/n-history.conf
initial
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / zsh-navigation-tools / .config / znt / n-history.conf
1 # How should be current element of the list drawn. Possible values: reverse,
2 # underline.
3 # On Linux virtual terminal this will be enforced to reverse (because of poor
4 # underline support on that terminal). The same for screen/tmux.
5 local active_text=underline
6
7 # Highlight a few keywords
8 local NLIST_COLORING_PATTERN="(while|for |sudo|make|(#s)git|vim(#e)|vim |emacs(#e)|emacs )"
9 local NLIST_COLORING_COLOR=$'\x1b[00;33m'
10 local NLIST_COLORING_MATCH_MULTIPLE=1
11
12 # Search keywords, iterated with F2 or Ctrl-X or Ctrl-/
13 local -a keywords
14 keywords=( "git" "vim" "mplayer" )
15
16
17
18
19
20
21
22 #
23 # Zshrc integration. All below variables can
24 # be set in zshrc and will have precedence
25 # over config files
26 #
27
28 # 1. znt_history_active_text
29 active_text=${znt_history_active_text:-$active_text}
30
31 # 2. znt_history_nlist_coloring_pattern
32 NLIST_COLORING_PATTERN=${znt_history_nlist_coloring_pattern:-$NLIST_COLORING_PATTERN}
33
34 # 3. znt_history_nlist_coloring_color
35 NLIST_COLORING_COLOR=${znt_history_nlist_coloring_color:-$NLIST_COLORING_COLOR}
36
37 # 4. znt_history_nlist_coloring_match_multiple
38 NLIST_COLORING_MATCH_MULTIPLE=${znt_history_nlist_coloring_match_multiple:-$NLIST_COLORING_MATCH_MULTIPLE}
39
40 # 5. znt_history_keywords (array)
41 if (( ${+znt_history_keywords} )); then
42     keywords=( "${znt_history_keywords[@]}" )
43 fi