summaryrefslogtreecommitdiff
path: root/tigrc
diff options
context:
space:
mode:
Diffstat (limited to 'tigrc')
-rw-r--r--tigrc103
1 files changed, 103 insertions, 0 deletions
diff --git a/tigrc b/tigrc
new file mode 100644
index 0000000..b371702
--- /dev/null
+++ b/tigrc
@@ -0,0 +1,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
+
+