Skip to content

starttig is vim plug-in to support starting tig from vim.

License

Notifications You must be signed in to change notification settings

hankei6km/starttig.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

starttig

starttig is Vim plug-in to support starting Tig from Vim. it's enable options/refs input completion and suppress hit-enter prompt.

Requirements

  • Vim
  • Tig

Installation

Installation with Vim package management(Vim 8 on linux)

# 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'

Usage

Starting to tig

:Stig

Starting to tig with topic/foo

:Stig topic/foo

Starting to tig blame with current editing file

:Stig blame

Customize

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)

License

Copyright (c) 2018 hankei6km

Licensed under the MIT License. See LICENSE.txt in the project root.

About

starttig is vim plug-in to support starting tig from vim.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published