summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-05-29 17:17:05 +0800
committertypebrook <typebrook@gmail.com>2019-05-29 17:17:05 +0800
commit09fe0610493f38d55dc9a3746e2cffa8d306e7a1 (patch)
tree2b4fd7537b8554b360ab28576e08f40fa713347a
parentf2122fa24e863fff3b5abd9d1560f8ada1c3ee72 (diff)
update
-rw-r--r--tigrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/tigrc b/tigrc
index b4765c6..a5f82fa 100644
--- a/tigrc
+++ b/tigrc
@@ -168,7 +168,7 @@ bind main <C-B> !sh scripts/bump_version.sh
168#==================== 168#====================
169# blame view 169# blame view
170#==================== 170#====================
171bind blame m >tig %(file) 171bind blame m >tig -- %(file)
172bind blame . >sh -c "git diff %(ref) -- %(file) | tig" 172bind blame . >sh -c "git diff %(ref) -- %(file) | tig"
173bind blame > >sh -c "git diff %(ref) --no-prefix -U1000i -- %(file) | tig" 173bind blame > >sh -c "git diff %(ref) --no-prefix -U1000i -- %(file) | tig"
174 174
@@ -237,7 +237,7 @@ set tree-view = author:abbreviated date:relative mode file-size:units id:no file
237bind tree t +git cat-file -p %(commit) 237bind tree t +git cat-file -p %(commit)
238 238
239bind tree d ?rm %(file) 239bind tree d ?rm %(file)
240bind tree m >tig %(file) 240bind tree m >tig -- %(file)
241 241
242bind tree xt +sh -c "git rev-parse %(commit)^{tree} | xclip -sel c -o | awk '{print \"Tree Clipped\", $1}'" 242bind tree xt +sh -c "git rev-parse %(commit)^{tree} | xclip -sel c -o | awk '{print \"Tree Clipped\", $1}'"
243 243
@@ -276,7 +276,7 @@ bind diff <C-K> :?^@@
276bind diff <Esc>j :/^diff --(git|cc) 276bind diff <Esc>j :/^diff --(git|cc)
277bind diff <Esc>k :?^diff --(git|cc) 277bind diff <Esc>k :?^diff --(git|cc)
278 278
279bind diff u @git checkout %(commit)^ %(file) 279bind diff u @git checkout %(commit)^ -- %(file)
280 280
281#==================== 281#====================
282# help view 282# help view