Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Iron-E/vim-tabmode
A mode for manipulating tabs in Neo/vim.
https://github.com/Iron-E/vim-tabmode
Last synced: about 2 months ago
JSON representation
A mode for manipulating tabs in Neo/vim.
- Host: GitHub
- URL: https://github.com/Iron-E/vim-tabmode
- Owner: Iron-E
- License: other
- Created: 2020-04-21T22:37:28.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-02T16:37:13.000Z (about 4 years ago)
- Last Synced: 2024-06-10T02:33:37.761Z (3 months ago)
- Language: Vim script
- Size: 6.06 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Description
`vim-tabmode` is a plugin that provides a new mode in Neo/vim for managing tabs.
Although it is recommended that splits and buffers are used over tabs when possible, there _are_ scenarios when tabs are necessary. This plugin hopes to make that easier.
# Requirements
* [vim-libmodal](https://github.com/Iron-E/vim-libmodal)
# Installation
Either use `packadd` or any package manager.
## Examples
* [dein.vim](https://github.com/Shougo/dein.vim):
* Add `call dein#add('https://github.com/Iron-E/vim-tabmode')` to `~/.vimrc`
* `:call dein#install()`
* [NeoBundle](https://github.com/Shougo/neobundle.vim):
* Add `NeoBundle 'https://github.com/Iron-E/vim-tabmode'` to `~/.vimrc`
* Re-open vim or execute `:source ~/.vimrc`
* [vim-plug](https://github.com/junegunn/vim-plug):
* Add `Plug 'https://github.com/Iron-E/vim-tabmode'` to `~/.vimrc`
* `:PlugInstall` or `$ vim +PlugInstall +qall`
* [Vundle](https://github.com/gmarik/vundle):
* Add `Plugin 'https://github.com/Iron-E/vim-tabmode'` to `~/.vimrc`
* `:PluginInstall` or `$ vim +PluginInstall +qall`# Usage
Enter `vim-tabmode` with `` or `:TabmodeEnter`.
| Key | Use |
|:-----------:|:------------------------------------------------------:|
| `` | Leave `tabmode` |
| `?` | Show help message |
| `^`/`0` | Go to the beginning of the tab list. |
| `` | Move the current tab to the beginning of the tab list. |
| `$` | Go to the end of the tab list. |
| `%` | Move the current tab to the end of the tab list. |
| `b`/`j`/`h` | Tab left |
| `w`/`k`/`l` | Tab right |
| `a` | Append a tab and switch to it. |
| `A` | Append a tab to the end and switch to it. |
| `i` | Prepend a tab and switch to it. |
| `I` | Prepend a tab to the beginning and switch to it. |
| `d` | Delete the current tab. |
| `s` | Replace the current tab with a new tab. |See `:help tabmode-usage` for additional details.
# Documentation
```vim
:help tabmode
```The actual document for help is in [tabmode.txt](doc/win.txt).