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)
- Host: GitHub
- URL: https://github.com/tyru/tabsidebar-boost.vim
- Owner: tyru
- Created: 2018-11-07T15:59:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-28T08:43:37.000Z (over 7 years ago)
- Last Synced: 2025-01-14T07:15:48.513Z (over 1 year ago)
- Language: Vim script
- Homepage:
- Size: 2.77 MB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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`

# 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
