aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-03-15 10:47:10 +0800
committertypebrook <typebrook@gmail.com>2019-03-15 10:47:10 +0800
commit6df62d06b1a832d3ea00ebfd033e71a6ccc030a1 (patch)
tree37045c41711712a76fd78dbdb3bc05162da7805a
parent06616fd7d4c71f206d38acd3a15278e6b7f7dd84 (diff)
Update
-rw-r--r--tigrc5
-rw-r--r--vimrc1
2 files changed, 5 insertions, 1 deletions
diff --git a/tigrc b/tigrc
index 7991ffe..879de8c 100644
--- a/tigrc
+++ b/tigrc
@@ -23,7 +23,9 @@ bind main c @sh -c "git branch --points-at=%(commit) | \
23 (cat -; echo %(commit)) | \ 23 (cat -; echo %(commit)) | \
24 head -1 | \ 24 head -1 | \
25 xargs git checkout" 25 xargs git checkout"
26bind main T @git tag "%(prompt Enter tag name: )" %(commit) 26bind main Tn @git tag "%(prompt Enter tag name: )" %(commit)
27bind main Td @git tag -d "%(prompt Delete tag: )"
28bind main Tp ?git push --tags
27bind main gdt @git tag -d %(tag) 29bind main gdt @git tag -d %(tag)
28bind main <Ctrl-r> !?git rebase -i %(commit) 30bind main <Ctrl-r> !?git rebase -i %(commit)
29bind main m ?git merge %(commit) 31bind main m ?git merge %(commit)
@@ -64,6 +66,7 @@ bind stash a ?git stash apply %(stash)
64 66
65# tree view 67# tree view
66bind tree d ?rm %(file) 68bind tree d ?rm %(file)
69bind tree 9 !@sh -c "echo -n %(blob) | head -c7 | xclip -selection c"
67 70
68# refs view 71# refs view
69bind refs C none 72bind refs C none
diff --git a/vimrc b/vimrc
index 4b99c6c..ec98e20 100644
--- a/vimrc
+++ b/vimrc
@@ -76,6 +76,7 @@ Plug 'mileszs/ack.vim'
76Plug 'tpope/vim-surround' 76Plug 'tpope/vim-surround'
77Plug 'lifepillar/pgsql.vim' 77Plug 'lifepillar/pgsql.vim'
78Plug 'vimwiki/vimwiki' 78Plug 'vimwiki/vimwiki'
79Plug 'iberianpig/tig-explorer.vim'
79 80
80" Initialize plugin system 81" Initialize plugin system
81call plug#end() 82call plug#end()