aboutsummaryrefslogtreecommitdiffhomepage
path: root/tigrc
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2023-02-06 22:58:25 +0800
committerHsieh Chin Fan <pham@topo.tw>2023-02-06 22:58:25 +0800
commit1bad0960a1a748118b486aa3c6a5802ab104c4e4 (patch)
tree2575fd5d4c8332e8f5bad7bcf0e0f4b15b7bcb71 /tigrc
parent29b399327e198c61812856da17cf7fdcd3153b93 (diff)
Update git config
Diffstat (limited to 'tigrc')
-rw-r--r--tigrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/tigrc b/tigrc
index 3b6eec5..bf410a0 100644
--- a/tigrc
+++ b/tigrc
@@ -184,7 +184,9 @@ bind generic pt ?git push --tags
184bind generic pT ?git push %(remote) %(tag) 184bind generic pT ?git push %(remote) %(tag)
185 185
186# search in history 186# search in history
187bind main S >sh -c 'git log -G "%(prompt Search: )" --pretty=raw | tig --pretty=raw' 187bind main S none
188bind main Sl >sh -c 'git log -G --pretty=raw "%(prompt Lines contains: )" | tig --pretty=raw'
189bind main Sf >sh -c 'git log --pretty=raw -- "*%(prompt Filename: )*" --pretty=raw | tig --pretty=raw'
188 190
189# submodule 191# submodule
190bind main Zu ?>git submodule update 192bind main Zu ?>git submodule update