https://github.com/hankei6km/starttig.vim
starttig is vim plug-in to support starting tig from vim.
https://github.com/hankei6km/starttig.vim
git tig vim vim-plugin
Last synced: about 2 months ago
JSON representation
starttig is vim plug-in to support starting tig from vim.
- Host: GitHub
- URL: https://github.com/hankei6km/starttig.vim
- Owner: hankei6km
- License: mit
- Created: 2018-02-16T13:37:46.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-16T15:11:50.000Z (about 7 years ago)
- Last Synced: 2025-01-19T18:38:23.937Z (3 months ago)
- Topics: git, tig, vim, vim-plugin
- Language: Vim script
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# starttig
starttig is Vim plug-in to support starting [Tig](http://jonas.nitro.dk/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)
```bash
# 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.
```bash
# ie.
vim "+silent! helptags ALL" +qall
```### Installation with [Vundle](https://github.com/VundleVim/Vundle.vim)
```vim
Plugin 'hankei6km/starttig.vim'
```## Usage
Starting to `tig`
```vim
:Stig
```Starting to `tig` with `topic/foo`
```vim
:Stig topic/foo
```Starting to `tig blame` with current editing file
```vim
:Stig blame
```## Customize
Customizing command name.
```vim
call starttig#SetTigCmdName("Tig")
```Default options (it's enable when passed options is blanked).
```vim
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.