summaryrefslogtreecommitdiffhomepage
path: root/tigrc
diff options
context:
space:
mode:
Diffstat (limited to 'tigrc')
-rw-r--r--tigrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/tigrc b/tigrc
index 0b795a6..e714748 100644
--- a/tigrc
+++ b/tigrc
@@ -206,9 +206,12 @@ bind blob m >tig -- %(file)
206bind status j :/^[MADRU?] 206bind status j :/^[MADRU?]
207bind status k :?^[MADRU?] 207bind status k :?^[MADRU?]
208 208
209# quick stage 209# update index
210bind status A @git add . 210bind status A @git add .
211bind status R @git reset 211bind status R @git reset
212bind status gu @git update-index --assume-unchanged %(file) # ignore file
213bind status gn >sh -c "git ls-files -v | grep '^h ' | cut -d' ' -f2 | \
214 xargs git update-index --no-assume-unchanged" # resume ignored files
212 215
213# stash 216# stash
214bind status s ?>git stash 217bind status s ?>git stash
@@ -229,7 +232,6 @@ bind status gc @git clean -f
229bind status Ba @git rebase --abort 232bind status Ba @git rebase --abort
230bind status Bc @git rebase --continue 233bind status Bc @git rebase --continue
231bind status <F4> !sh -c "git difftool -y \"$(git rev-parse --show-toplevel)/%(file)\"" 234bind status <F4> !sh -c "git difftool -y \"$(git rev-parse --show-toplevel)/%(file)\""
232bind status gu @git update-index --assume-unchanged %(file)
233 235
234# apply patch file 236# apply patch file
235bind status <C-O> ?git am %(file) 237bind status <C-O> ?git am %(file)