An open API service indexing awesome lists of open source software.

https://github.com/tyru/tabsidebar-boost.vim

Add extra features to Vim-TabSideBar (see https://rbtnn.github.io/vim/ for Vim-TabSideBar patch)
https://github.com/tyru/tabsidebar-boost.vim

Last synced: 5 months ago
JSON representation

Add extra features to Vim-TabSideBar (see https://rbtnn.github.io/vim/ for Vim-TabSideBar patch)

Awesome Lists containing this project

README

          

# Tabsidebar-Boost

Tabsidebar-Boost adds extra features to [Vim-TabSideBar patch](https://rbtnn.github.io/vim/).

* Adjust tabsidebar width (`tabsidebarcolumns`) automatically
* Quickly jump to another window
* Set project title per tab page by `:TabSideBarBoostSetTitle`

![Set project titles](_images/set-title.png)

# Configuration (example)

```vim
if has('tabsidebar')
" Jumps to a window quickly
nmap (tabsidebar-boost-jump)
nmap (tabsidebar-boost-next-window)
nmap (tabsidebar-boost-previous-window)

" You can change tab page title
nnoremap t :TabSideBarBoostSetTitle=get(t:, 'tabsidebar_boost_title', '')

" Adjust columns of tabsidebar automatically
let g:tabsidebar_boost#auto_adjust_tabsidebarcolumns = 1

" Cool tabsidebar display
let &g:tabsidebar = '%!tabsidebar_boost#tabsidebar(g:actual_curtabpage)'
endif
```

`(tabsidebar-boost-next-window)` and `(tabsidebar-boost-previous-window)` jumps to the next / previous window across tab page.
`(tabsidebar-boost-jump)` shows prompt, and if you enter a buffer number of a window, it jumps to the specified window quickly.

# Demo

![Demo](_images/demo.gif)