blob: 904236d3254c8b3e1948d0fcaef9df5dd95aa2b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
bind generic + !git commit --amend
bind generic 9 @sh -c "echo -n %(commit) | xclip -selection c"
bind generic T !git notes edit %(commit)
bind refs 3 !git rebase -i %(branch)
# Search for previous diff (c)hunk and next diff header
bind stage 2 :?^@@
bind stage D :/^diff --(git|cc)
# Grep view
bind generic S view-grep
# Copy current commit ID to the clipboard
bind generic I !git add -i %(file)
# Navigation
bind generic g move-first-line
bind generic G move-last-line
bind main G move-last-line
|