]> git.rmz.io Git - dotfiles.git/blob - tig/config
zsh: remove fpp WORKSPACE env
[dotfiles.git] / tig / config
1 set mailmap = true
2
3 # vim-style keybindings
4 # Copied from https://github.com/jonas/tig/blob/master/contrib/vim.tigrc
5 bind generic h scroll-left
6 bind generic j move-down
7 bind generic k move-up
8 bind generic l scroll-right
9
10 bind generic g none
11 bind generic gg move-first-line
12 bind generic gj next
13 bind generic gk previous
14 bind generic gp parent
15 bind generic gP back
16 bind generic gn view-next
17
18 bind main G move-last-line
19 bind generic G move-last-line
20
21 bind generic <C-f> move-page-down
22 bind generic <C-b> move-page-up
23
24 bind generic v none
25 bind generic vm view-main
26 bind generic vd view-diff
27 bind generic vl view-log
28 bind generic vt view-tree
29 bind generic vb view-blob
30 bind generic vx view-blame
31 bind generic vr view-refs
32 bind generic vs view-status
33 bind generic vu view-stage
34 bind generic vy view-stash
35 bind generic vg view-grep
36 bind generic vp view-pager
37 bind generic vh view-help
38
39 bind generic o none
40 bind generic oo :toggle sort-order
41 bind generic os :toggle sort-field
42 bind generic on :toggle line-number
43 bind generic od :toggle date
44 bind generic oa :toggle author
45 bind generic og :toggle line-graphics
46 bind generic of :toggle file-name
47 bind generic op :toggle ignore-space
48 bind generic oi :toggle id
49 bind generic ot :toggle commit-title-overflow
50 bind generic oF :toggle file-filter
51 bind generic or :toggle commit-title-refs
52
53 bind generic @ none
54 bind generic @j :/^@@
55 bind generic @k :?^@@
56 bind generic @- :toggle diff-context -1
57 bind generic @+ :toggle diff-context +1
58
59 bind generic u none
60 bind generic uu status-update
61 bind generic ur status-revert
62 bind generic um status-merge
63 bind generic ul stage-update-line
64 bind generic up stage-update-part
65 bind generic us stage-split-chunk
66
67 bind generic c none
68 bind generic cc !git commit
69 bind generic ca !?@git commit --amend --no-edit
70
71 bind generic K view-help
72 bind generic <C-w><C-w> view-next