-
Notifications
You must be signed in to change notification settings - Fork 0
/
tigrc
62 lines (52 loc) · 2.41 KB
/
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
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
# set split-view-height = 80%
# set diff-context = 5
# set main-view = id:width=12 date author commit-title:graph=yes,refs=yes
set main-view = line-number:no,interval=5 id:yes date:default author:full commit-title:yes,graph,refs,overflow=no
set diff-view = line-number:no,interval=5 text:yes,commit-title-overflow=no
# bind main G !@hub browse -- commit/%(commit)
# bind diff G !@hub browse -- commit/%(commit)
# View switching
bind generic m view-main
bind generic d view-diff
bind generic l view-log
bind generic t view-tree
bind generic f view-blob
bind generic b view-blame
bind generic r view-refs
bind generic p view-pager
# bind generic h view-help
bind generic s view-status
bind generic c view-stage
bind generic y view-stash
# bind generic g view-grep
bind generic h none
bind generic H view-help
bind generic g move-first-line
bind generic G move-last-line
bind generic <C-F> move-half-page-down
bind generic <C-B> move-half-page-up
# View manipulation
bind generic <Enter> enter # Enter and open selected entry
# TODO: open (from stash => open diff, but stay in stash list)
bind generic <Lt> back # Go back to the previous view state
bind generic <Down> next # Move to next
bind generic <C-N> next
bind generic J next
bind generic <Up> previous # Move to previous
bind generic <C-P> previous
bind generic K previous
bind generic , parent # Move to parent
bind generic <Tab> view-next # Move focus to the next view
bind generic R refresh # Reload and refresh view
bind generic <F5> refresh
bind generic O maximize # Maximize the current view
bind generic q view-close # Close the current view
bind generic Q quit # Close all views and quit
# bind main g move-first-line
bind main G move-last-line
# bind diff ; view-next
bind diff l scroll-right
bind diff h scroll-left
bind generic - none
bind main - :toggle commit-title-graph # Toggle revision graph visualization
# vim: ft=config