summaryrefslogtreecommitdiff
path: root/plugins/zsh-navigation-tools/.config/znt
diff options
context:
space:
mode:
authorSebastian Gniazdowski <sgniazdowski@gmail.com>2015-11-30 10:48:30 +0100
committerSebastian Gniazdowski <sgniazdowski@gmail.com>2015-11-30 10:48:30 +0100
commitc2b4d9ff40f2f965a5d9d282081f3f8bf51bb5b5 (patch)
treeb96ce8d323c999bc6cfb62fbdddd4ae8f7ba2b5b /plugins/zsh-navigation-tools/.config/znt
parentafd28bf1fc22f53c4a1af3f5836ca428affb34b3 (diff)
downloadzsh-c2b4d9ff40f2f965a5d9d282081f3f8bf51bb5b5.tar.gz
zsh-c2b4d9ff40f2f965a5d9d282081f3f8bf51bb5b5.tar.bz2
zsh-c2b4d9ff40f2f965a5d9d282081f3f8bf51bb5b5.zip
znt: n-history supports multi-line cmds and starts with current buffer
Diffstat (limited to 'plugins/zsh-navigation-tools/.config/znt')
-rw-r--r--plugins/zsh-navigation-tools/.config/znt/n-cd.conf1
-rw-r--r--plugins/zsh-navigation-tools/.config/znt/n-history.conf5
2 files changed, 6 insertions, 0 deletions
diff --git a/plugins/zsh-navigation-tools/.config/znt/n-cd.conf b/plugins/zsh-navigation-tools/.config/znt/n-cd.conf
index 5fcfe64fa..f8c49bfac 100644
--- a/plugins/zsh-navigation-tools/.config/znt/n-cd.conf
+++ b/plugins/zsh-navigation-tools/.config/znt/n-cd.conf
@@ -1,6 +1,7 @@
# Hotlist
local hotlist
hotlist=(
+ ~/.config/znt
/usr/share/zsh/site-functions
/usr/share/zsh
/usr/local/share/zsh/site-functions
diff --git a/plugins/zsh-navigation-tools/.config/znt/n-history.conf b/plugins/zsh-navigation-tools/.config/znt/n-history.conf
index f798f7121..5d4bad822 100644
--- a/plugins/zsh-navigation-tools/.config/znt/n-history.conf
+++ b/plugins/zsh-navigation-tools/.config/znt/n-history.conf
@@ -3,3 +3,8 @@
# On Linux virtual terminal this will be enforced to reverse (because of poor
# underline support on that terminal)
local active_text=underline
+
+# Highlight a few keywords
+local NLIST_COLORING_PATTERN="(while|for |sudo|make|(#s)git|vim(#e)|vim |emacs(#e)|emacs )"
+local NLIST_COLORING_COLOR=$'\x1b[00;33m'
+local NLIST_COLORING_MATCH_MULTIPLE=1