From c2b4d9ff40f2f965a5d9d282081f3f8bf51bb5b5 Mon Sep 17 00:00:00 2001 From: Sebastian Gniazdowski Date: Mon, 30 Nov 2015 10:48:30 +0100 Subject: znt: n-history supports multi-line cmds and starts with current buffer --- plugins/zsh-navigation-tools/znt-history-widget | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/zsh-navigation-tools/znt-history-widget') diff --git a/plugins/zsh-navigation-tools/znt-history-widget b/plugins/zsh-navigation-tools/znt-history-widget index 097de8233..9ddae606d 100644 --- a/plugins/zsh-navigation-tools/znt-history-widget +++ b/plugins/zsh-navigation-tools/znt-history-widget @@ -1,8 +1,10 @@ autoload znt-usetty-wrapper n-history local NLIST_START_IN_SEARCH_MODE=1 local NLIST_START_IN_UNIQ_MODE=1 +local NLIST_SET_SEARCH_TO="$BUFFER" znt-usetty-wrapper n-history "$@" unset NLIST_START_IN_SEARCH_MODE unset NLIST_START_IN_UNIQ_MODE +unset NLIST_SET_SEARCH_TO -- cgit v1.2.3-70-g09d2