diff options
author | Sebastian Gniazdowski <sgniazdowski@gmail.com> | 2016-04-30 15:16:00 +0200 |
---|---|---|
committer | Sebastian Gniazdowski <sgniazdowski@gmail.com> | 2016-05-16 16:29:17 +0200 |
commit | e2d157d5895717e983e5cc4e5df792a6a5dbe0ac (patch) | |
tree | c3b11213c62fc7d7e805efa3374a45d601de0031 /plugins/zsh-navigation-tools/.config/znt/n-list.conf | |
parent | 19769fded2d95b1e81a72ee7ebd3d9bd53f0d422 (diff) | |
download | zsh-e2d157d5895717e983e5cc4e5df792a6a5dbe0ac.tar.gz zsh-e2d157d5895717e983e5cc4e5df792a6a5dbe0ac.tar.bz2 zsh-e2d157d5895717e983e5cc4e5df792a6a5dbe0ac.zip |
znt: update to v2.1.15
Diffstat (limited to 'plugins/zsh-navigation-tools/.config/znt/n-list.conf')
-rw-r--r-- | plugins/zsh-navigation-tools/.config/znt/n-list.conf | 54 |
1 files changed, 53 insertions, 1 deletions
diff --git a/plugins/zsh-navigation-tools/.config/znt/n-list.conf b/plugins/zsh-navigation-tools/.config/znt/n-list.conf index cf9d2a3be..68f5668f9 100644 --- a/plugins/zsh-navigation-tools/.config/znt/n-list.conf +++ b/plugins/zsh-navigation-tools/.config/znt/n-list.conf @@ -1,3 +1,55 @@ # Should the list (text, borders) be drawn in bold # Value 1 is the default -local bold=1 +local bold=0 + +# Main color pair (foreground/background) +local colorpair="white/black" + +# Should draw the border? +local border=1 + +# Combinations of colors to try out with Ctrl-T and Ctrl-G +# The last number is the bold option, 0 or 1 +local -a themes +themes=( "white/black/1" "green/black/0" "green/black/1" "white/blue/0" "white/blue/1" + "magenta/black/0" "magenta/black/1" ) + +# Uncomment when using new (>5.2) Zsh version that supports 256 colors in zcurses +#themes=( "white/17/0" "10/17/1" "white/24/1" "white/22/0" "white/22/1" "white/25/0" "white/25/1" +# "white/59/0" "white/59/1" "white/60/0" "white/60/1" "white/61/0" "white/61/1" "black/65/0" +# "black/244/0" ) + +# When 1, pressing enter when in search mode will not +# only leave the mode, but also do selection and leave +# n-history +local NLIST_INSTANT_SELECT=0 + + + + + + + +# +# Zshrc integration. All below variables can +# be set in zshrc and will have precedence +# over config files +# + +# 1. znt_list_bold +bold=${znt_list_bold:-$bold} + +# 2. znt_list_colorpair +colorpair=${znt_list_colorpair:-$colorpair} + +# 3. znt_list_border +border=${znt_list_border:-$border} + +# 4. znt_list_themes (array) +if (( ${+znt_list_themes} )); then + themes=( "${znt_list_themes[@]}" ) +fi + +# 5. znt_list_instant_select +NLIST_INSTANT_SELECT=${znt_list_instant_select:-$NLIST_INSTANT_SELECT} + |