starttig is Vim plug-in to support starting Tig from Vim. it's enable options/refs input completion and suppress hit-enter prompt.
- Vim
- Tig
# ie.
mkdir -p ~/.vim/pack/git-plugins/start
git clone https://github.com/hankei6km/starttig.vim.git ~/.vim/pack/git-plugins/start/stattig.vim
Generating Vim help files.
# ie.
vim "+silent! helptags ALL" +qall
Installation with Vundle
Plugin 'hankei6km/starttig.vim'
Starting to tig
:Stig
Starting to tig
with topic/foo
:Stig topic/foo
Starting to tig blame
with current editing file
:Stig blame
Customizing command name.
call starttig#SetTigCmdName("Tig")
Default options (it's enable when passed options is blanked).
call starttig#SetTigBlankedOpt(["--all"])
(Acceptable opttions is '--all' and '--topo-oroder' only yet)
Copyright (c) 2018 hankei6km
Licensed under the MIT License. See LICENSE.txt in the project root.