-
Notifications
You must be signed in to change notification settings - Fork 142
/
tigrc
28 lines (21 loc) · 878 Bytes
/
tigrc
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
# Use Git's default (reverse chronological) order, never automatically
# use topo-order for the commit graph
set commit-order = default
# Limit number of commits loaded by default to 1000
set main-options = -n 1000
# Don't show staged and unstaged changes in the main view
set show-changes = no
# Optionally, use the old and faster but less acurate graph renderer
set main-view-commit-title-graph = v1
bind generic r refresh
bind status d !@?rm -rf %(file) # delete untracked files
bind generic y @sh -c "printf '%(file)' | pbcopy"
bind generic v @tmux split-window -h "nvim %(file)"
bind generic s @tmux split-window -v "nvim %(file)"
# Allow moving in the main menu while displaying a diff in the bottom of the
# screen.
bind generic J next
bind generic K previous
bind generic G move-last-line
bind status A !?git commit -S --amend
bind status C !git commit --signoff