]> git.rmz.io Git - dotfiles.git/blob - tig/config
lazyvim: remove pick util
[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 bind generic gh view-help
18
19 bind main G move-last-line
20 bind generic G move-last-line
21
22 bind generic <C-f> move-page-down
23 bind generic <C-b> move-page-up
24
25 bind generic v none
26 bind generic vm view-main
27 bind generic vd view-diff
28 bind generic vl view-log
29 bind generic vt view-tree
30 bind generic vb view-blob
31 bind generic vx view-blame
32 bind generic vr view-refs
33 bind generic vs view-status
34 bind generic vu view-stage
35 bind generic vy view-stash
36 bind generic vg view-grep
37 bind generic vp view-pager
38 bind generic vh view-help
39
40 bind generic o none
41 bind generic oo :toggle sort-order
42 bind generic os :toggle sort-field
43 bind generic on :toggle line-number
44 bind generic od :toggle date
45 bind generic oa :toggle author
46 bind generic og :toggle line-graphics
47 bind generic of :toggle file-name
48 bind generic op :toggle ignore-space
49 bind generic oi :toggle id
50 bind generic ot :toggle commit-title-overflow
51 bind generic oF :toggle file-filter
52 bind generic or :toggle commit-title-refs
53
54 bind generic @ none
55 bind generic @j :/^@@
56 bind generic @k :?^@@
57 bind generic @- :toggle diff-context -1
58 bind generic @+ :toggle diff-context +1
59
60 bind generic u none
61 bind generic uu status-update
62 bind generic ur status-revert
63 bind generic um status-merge
64 bind generic ul stage-update-line
65 bind generic up stage-update-part
66 bind generic us stage-split-chunk
67
68 bind generic c none
69 bind generic cc !git commit
70 bind generic ca !?@git commit --amend --no-edit
71
72 bind generic <C-w><C-w> view-next