summaryrefslogtreecommitdiff
path: root/tigrc
blob: b371702d830d9039e78068af4df31362b88f8470 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
set git-colors = yes
set mouse = yes
set main-view-date = custom
set main-view-date-format = "%y/%m/%d %H:%M"
set main-view = date author:abbreviated commit-title:graph:v2
set tree-view = file-name

color cursor 255 black bold
color default black default
color "Reported-by:" black default
color author black default bold
color title-focus  black default underline
color title-blur  black default underline
color stat-none  black default
color stat-staged  black default
color stat-unstaged  black default
color status.header  black default bold

color file  black default
color directory  black default
color graph-commit  black default

color palette-0  black default
color palette-1  blue default
color palette-2  black default
color palette-3  blue default
color palette-4  black default
color palette-5  blue default
color palette-6  black default
color palette-7  blue default
color palette-8  black default
color palette-9  blue default
color palette-10  black default
color palette-11  blue default
color palette-12  black default
color palette-13  blue default

color main-commit  black default
color main-head  black default bold
color main-annotated  black default
color main-remote  black default
color main-tracked  black default
color main-tag  black default
color main-local-tag  black default
color main-ref  black default

color stat-none  black default
color stat-staged  red default
color stat-unstaged  blue default
color stat-untracked  black default
color status.header  black default bold

color help.header  black default bold
color help-group  black default
color help-action  black default

color pp-refs  black default 
color pp-reflog  black default 
color pp-reflogmsg  black default 
color pp-merge  black default 

color tree  black default  
color committer  black default 
color author  black default bold
color commit  black default 
color parent  black default 
color search-result green black standout
color date  244 default 

color diff-header black default
color diff-index black default
color diff-chunk black default
color diff-stat  black default bold
color diff-add  black 194 
color diff-add2  black 194 
color diff-del  black 224 
color diff-del2  black 218 

bind diff D !git difftool --tool=vimdiff --trust-exit-code --no-prompt %(commit)^! -- %(file) 
bind main C ?git cherry-pick %(commit)
bind diff C ?git cherry-pick %(commit)
bind pager C !git commit
bind stage C !git commit
bind main @Q !git reset %(commit)
bind main @R !git rebase -i %(commit)
bind generic R refresh
bind status PU !git push
bind main PU !git push
bind status PFU ?git push --force-with-lease
bind main PFU ?git push --force-with-lease
bind status @@ ?sh -c 'git rev-parse --show-toplevel | xargs -I {} rm "{}/%(file)"'
bind main MM !git merge --ff-only %(commit)
bind generic T >git notes append %(commit)
bind generic d !sh -c "git show %(commit)"
bind tree @F >sh -c "echo 'New File Name (Blank cancels):'; read line; touch %(directory)/$line"
bind tree @D >sh -c "echo 'New Folder Name (Blank cancels):'; read line; mkdir %(directory)/$line"

bind blob E >sh -c "$EDITOR %(file)"

bind tree - parent
set pager-view = line-number:yes,interval=10 text