aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-05-27 11:16:15 +0800
committertypebrook <typebrook@gmail.com>2019-05-27 11:16:15 +0800
commit9be89024c84285d37d30efac5d57d5afc948d9c5 (patch)
tree33ec14d75294e8659bf6930fa3796b9a8dea4933
parentc1b5425d9c74007a798cd5d48f7fd78726cb09cf (diff)
update
-rw-r--r--tigrc9
1 files changed, 5 insertions, 4 deletions
diff --git a/tigrc b/tigrc
index b6eec2e..b4765c6 100644
--- a/tigrc
+++ b/tigrc
@@ -57,7 +57,7 @@ bind main G none
57bind main G move-last-line 57bind main G move-last-line
58bind main ` :toggle commit-title-graph 58bind main ` :toggle commit-title-graph
59bind main F none 59bind main F none
60bind main <C-F> :toggle commit-title-refs 60bind main <C-T> :toggle commit-title-refs
61 61
62# edit tigrc 62# edit tigrc
63bind main e >sh -c "vim ~/.tigrc" 63bind main e >sh -c "vim ~/.tigrc"
@@ -111,7 +111,8 @@ bind main pd ?git push %(remote) :%(branch)
111bind main pD ?git push '%(prompt Which remote? )' :'%(prompt Which branch? )' 111bind main pD ?git push '%(prompt Which remote? )' :'%(prompt Which branch? )'
112 112
113# fetch 113# fetch
114bind main F ?git fetch %(remote) # Go to Fetch 114bind main F ?git fetch %(remote) %(branch) # Go to Fetch
115bind main <C-F> ?git fetch %(remote)
115bind main gf ?git fetch '%(prompt Which remote? )' # Go to Fetch a specific remote 116bind main gf ?git fetch '%(prompt Which remote? )' # Go to Fetch a specific remote
116bind main pu ?git pull 117bind main pu ?git pull
117bind main pU ?git pull '%(prompt Which remote? )' %(branch):%(branch) 118bind main pU ?git pull '%(prompt Which remote? )' %(branch):%(branch)
@@ -255,8 +256,8 @@ bind refs r none
255bind refs brd ?git branch -rd %(remote)/%(branch) 256bind refs brd ?git branch -rd %(remote)/%(branch)
256 257
257bind refs U ?git fetch --all 258bind refs U ?git fetch --all
258bind refs F ?git fetch %(remote) 259bind refs <C-F> ?git fetch %(remote)
259bind refs <C-F> ?git fetch %(remote) %(branch) 260bind refs F ?git fetch %(remote) %(branch)
260 261
261bind refs . >sh -c "git diff %(branch) | tig" 262bind refs . >sh -c "git diff %(branch) | tig"
262bind refs > >sh -c "git diff %(branch) --prefix -U1000 | tig" 263bind refs > >sh -c "git diff %(branch) --prefix -U1000 | tig"