ticket.vim : Manges git branch specific vim session files
script karma |
Rating 4/1,
Downloaded by 363 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
jimmy hardman |
|
script type |
utility |
|
description |
ticket.vim
Check https://github.com/superDross/ticket.vim/ for all the latest docs
A session file can be created based upon the git branch you are occupying. This allows one to easily open session files between branches with a simple command.
To create a branch session file `:SaveSession`
To open it `:OpenSession`
To save branch notes `:SaveNote`
To open it `:OpenNote`
To search all notes for git `:GrepNotes git`
To automatically open and save and session files set the following in your `.vimrc`:
```vim
let g:ticket_auto_open = 1
let g:ticket_auto_save = 1
```
- EXAMPLE
Say you are currently in branch feature/case-34200 in the NewProject repo and subsequently execute :SaveSession within vim.
The session file will be stored within ~/.tickets/NewProject/case-34200.vim.
To open this specific session with :OpenSession, you must be in branch feature/case-34200. |
|
install details |
Plug 'superDross/ticket.vim' |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.188.60.146
|