Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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).