summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tigrc9
1 files changed, 6 insertions, 3 deletions
diff --git a/tigrc b/tigrc
index 7f1c391..3504ce7 100644
--- a/tigrc
+++ b/tigrc
@@ -72,7 +72,10 @@ bind main <C-J> :move-next-merge
72bind main <C-K> :move-prev-merge 72bind main <C-K> :move-prev-merge
73bind main gh :goto HEAD 73bind main gh :goto HEAD
74bind main ; :goto %(commit)^2 # go to second parent 74bind main ; :goto %(commit)^2 # go to second parent
75bind main 1 :goto $(git rev-list --all --children | grep "^%(commit)" | awk '{print $2}') 75bind main 1 +sh -c "git rev-list --all --children | \
76 grep '^%(commit)' | \
77 awk '{print $2}') | \
78 xsel -ib && echo first children"
76 79
77# branch 80# branch
78bind main b none 81bind main b none
@@ -134,8 +137,8 @@ bind main ! ?git revert %(commit)
134# tag 137# tag
135bind main Tn @git tag "%(prompt Enter tag name: )" %(commit) 138bind main Tn @git tag "%(prompt Enter tag name: )" %(commit)
136bind main TN !git tag "%(prompt Enter tag name: )" %(commit) -a 139bind main TN !git tag "%(prompt Enter tag name: )" %(commit) -a
137bind main Tm @sh -c 'git tag -d %(tag) && git tag "%(prompt Enter tag name: )" %(commit)' 140bind main Tm @sh -c 'git tag -d %(tag) && git tag "%(prompt Move which tag to here? )" %(commit)'
138bind main TM @sh -c 'git cat-file -p %(tag) | sed -n \'6,$p\' | git tag -a -F - "%(prompt Enter tag name: )" && git tag -d %(tag)' 141bind main TM @sh -c 'git cat-file -p %(tag) | sed -n \'6,$p\' | git tag -a -F - "%(prompt Rename tag into: )" && git tag -d %(tag)'
139bind main Tc !git tag %(tag) %(tag)^{} -f -m "%(prompt Enter new content: )" 142bind main Tc !git tag %(tag) %(tag)^{} -f -m "%(prompt Enter new content: )"
140bind main Ts >tig show %(tag) 143bind main Ts >tig show %(tag)
141bind main Td @git tag -d "%(prompt Delete tag: )" 144bind main Td @git tag -d "%(prompt Delete tag: )"