aboutsummaryrefslogtreecommitdiffhomepage
path: root/tigrc
blob: 04260cdb3dab0963ac2212a3ae8c2b27381bd5cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
bind generic x :toggle id
bind generic 9 !@sh -c "echo -n %(commit) | head -c7 | xclip -selection c"

bind main c !?git checkout %(commit)
bind main T !?git show %(tag)

set main-view = \
    date:default \
    author:abbreviated \
    id \
    commit-title:graph=v2,refs=true 

set blame-view = \
       date:default \
       author:abbreviated \
       file-name:no \
       id:yes,color \
       line-number:yes,interval=5 text

bind status D !rm %(file)
bind status a !git commit --amend

bind stash D !?git stash drop %(stash)
bind stash A !?git stash apply %(stash)

bind refs d !?git branch -d %(branch)