aboutsummaryrefslogtreecommitdiffhomepage
path: root/tigrc
diff options
context:
space:
mode:
Diffstat (limited to 'tigrc')
-rw-r--r--tigrc6
1 files changed, 2 insertions, 4 deletions
diff --git a/tigrc b/tigrc
index 7d637ab..e1e1abe 100644
--- a/tigrc
+++ b/tigrc
@@ -9,11 +9,10 @@ bind generic g none
9bind generic gp view-grep 9bind generic gp view-grep
10bind generic gg move-first-line 10bind generic gg move-first-line
11bind generic G move-last-line 11bind generic G move-last-line
12bind generic S none
13bind generic <C-H> scroll-left 12bind generic <C-H> scroll-left
14bind generic <C-L> none
15bind generic <C-L> scroll-right 13bind generic <C-L> scroll-right
16bind generic <Esc>l screen-redraw 14bind generic <Esc>l screen-redraw
15bind generic R :source ~/.tigrc
17 16
18# toggle/copy commit id 17# toggle/copy commit id
19bind generic xx +sh -c "echo -n %(commit) | head -c7 | xclip -sel c && echo Commit Clipped!" 18bind generic xx +sh -c "echo -n %(commit) | head -c7 | xclip -sel c && echo Commit Clipped!"
@@ -32,8 +31,6 @@ bind generic w :toggle ignore-case
32bind generic <C-R> refresh 31bind generic <C-R> refresh
33# apply tigrc settings 32# apply tigrc settings
34 33
35bind generic R none
36bind generic R :source ~/.tigrc
37 34
38# see reflog, reset refernece 35# see reflog, reset refernece
39bind generic L >sh -c "git reflog --pretty=raw | tig --pretty=raw" 36bind generic L >sh -c "git reflog --pretty=raw | tig --pretty=raw"
@@ -80,6 +77,7 @@ bind main bd @git branch -d "%(prompt Delete branch: )"
80bind main bbd @git branch -d %(branch) 77bind main bbd @git branch -d %(branch)
81bind main bD ?>git branch -D "%(prompt Delete branch anyway: )" 78bind main bD ?>git branch -D "%(prompt Delete branch anyway: )"
82bind main bbD ?>git branch -D %(branch) 79bind main bbD ?>git branch -D %(branch)
80bind main brd ?git branch -rd %(remote)/%(branch)
83bind main bv +sh -c "git branch -vv | grep %(branch)" 81bind main bv +sh -c "git branch -vv | grep %(branch)"
84bind main bm @git branch -m %(branch) "%(prompt New branch name: )" 82bind main bm @git branch -m %(branch) "%(prompt New branch name: )"
85bind main bM @git branch -f "%(prompt Move which branch to here? )" %(commit) 83bind main bM @git branch -f "%(prompt Move which branch to here? )" %(commit)