From 6df62d06b1a832d3ea00ebfd033e71a6ccc030a1 Mon Sep 17 00:00:00 2001 From: typebrook Date: Fri, 15 Mar 2019 10:47:10 +0800 Subject: Update --- tigrc | 5 ++++- vimrc | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) 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) | \ (cat -; echo %(commit)) | \ head -1 | \ xargs git checkout" -bind main T @git tag "%(prompt Enter tag name: )" %(commit) +bind main Tn @git tag "%(prompt Enter tag name: )" %(commit) +bind main Td @git tag -d "%(prompt Delete tag: )" +bind main Tp ?git push --tags bind main gdt @git tag -d %(tag) bind main !?git rebase -i %(commit) bind main m ?git merge %(commit) @@ -64,6 +66,7 @@ bind stash a ?git stash apply %(stash) # tree view bind tree d ?rm %(file) +bind tree 9 !@sh -c "echo -n %(blob) | head -c7 | xclip -selection c" # refs view bind 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' Plug 'tpope/vim-surround' Plug 'lifepillar/pgsql.vim' Plug 'vimwiki/vimwiki' +Plug 'iberianpig/tig-explorer.vim' " Initialize plugin system call plug#end() -- cgit v1.2.3-70-g09d2