From 8334b6205594d46e132aa34dc3ef021c6acbac88 Mon Sep 17 00:00:00 2001 From: typebrook Date: Thu, 9 May 2019 20:48:34 +0800 Subject: update --- tigrc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tigrc') diff --git a/tigrc b/tigrc index 698c113..046e317 100644 --- a/tigrc +++ b/tigrc @@ -127,9 +127,12 @@ bind main Tp ?git push --tags bind main pt ?git push %(remote) %(tag) bind main TTd @git tag -d %(tag) +# search in history +bind main S >sh -c 'git log -S "%(prompt Search: )" --pretty=raw | tig --pretty=raw' + # submodule -bind main Su ?>git submodule update -bind main Si ?>git submodule init +bind main Zu ?>git submodule update +bind main Zi ?>git submodule init # make patches bind main PP ?>git format-patch %(commit) -- cgit v1.2.3-70-g09d2