aboutsummaryrefslogtreecommitdiffhomepage
path: root/tigrc
diff options
context:
space:
mode:
Diffstat (limited to 'tigrc')
-rw-r--r--tigrc15
1 files changed, 9 insertions, 6 deletions
diff --git a/tigrc b/tigrc
index 0fd811e..fa39144 100644
--- a/tigrc
+++ b/tigrc
@@ -11,6 +11,7 @@ bind generic G move-last-line
11bind generic <C-H> scroll-left 11bind generic <C-H> scroll-left
12bind generic <C-L> none 12bind generic <C-L> none
13bind generic <C-L> scroll-right 13bind generic <C-L> scroll-right
14bind generic <Esc>l screen-redraw
14 15
15# toggle/copy commit id 16# toggle/copy commit id
16bind generic xx +sh -c "echo -n %(commit) | head -c7 | xclip -sel c && echo Commit Clipped!" 17bind generic xx +sh -c "echo -n %(commit) | head -c7 | xclip -sel c && echo Commit Clipped!"
@@ -174,10 +175,10 @@ bind stash n @sh -c "git stash drop %(stash) | \
174#==================== 175#====================
175# stage view 176# stage view
176#==================== 177#====================
177bind stage <Ctrl-N> :/^@@ 178bind stage <C-J> :/^@@
178bind stage <Ctrl-P> :?^@@ 179bind stage <C-K> :?^@@
179bind stage <Esc>n :/^diff --(git|cc) 180bind stage <Esc>j :/^diff --(git|cc)
180bind stage <Esc>p :?^diff --(git|cc) 181bind stage <Esc>k :?^diff --(git|cc)
181 182
182#==================== 183#====================
183# tree view 184# tree view
@@ -223,8 +224,10 @@ bind log p :?^commit
223#==================== 224#====================
224# diff view 225# diff view
225#==================== 226#====================
226bind diff <Esc>n :/^diff --(git|cc) 227bind diff <C-J> :/^@@
227bind diff <Esc>p :?^diff --(git|cc) 228bind diff <C-K> :?^@@
229bind diff <Esc>j :/^diff --(git|cc)
230bind diff <Esc>k :?^diff --(git|cc)
228 231
229#==================== 232#====================
230# help view 233# help view