vimwintab : "IDE-like" tabs in Vim
| script karma
Downloaded by 110
Comments, bugs, improvements
script versions (upload new version)
|In Vim, we don't really have tabs in its regular meaning. Vim tabs encompass windows, but don't show what files are opened in these windows. So, long story short, vimwintab plugin adds to Vim a functionality of regular tabs that you can find in many text editors. Hence the name - \"Vim Windows Tabs\".
Each tab represents a buffer associated with a window. Multiple windows may have the same buffer opened as a tab. At one point of time any window may have one current tab, with the represented buffer displayed in the window. Current tab may be switched to the left or right one, and if you try to go beyond any end of the tab bar it will wrap.
Navigation between tabs is not interconnected with the buffer list and is done via plugin's own commands.
Tabs are added to windows according to the mode the plugin operates in. There are several of those, each of them provides different detection patterns which the plugin will follow to determine if a buffer needs to be added to a tab bar.
In general, plugin is very customizable - you can determine, how it will operate, in which mode, how individual tabs will look like, etc.
Please visit the plugin's wiki to find User Guide, Customization Guide, and other useful information - https://github.com/boson-joe/vimwintab/wiki .
Plugin itself and its documentation could be downloaded directly from GitHub - https://github.com/boson-joe/vimwintab .
To make sure the plugin works properly, we suggest you to check that your Vim has version 8.2 or higher (`:echo v:version >= 802` should print out 1), has `popupwin` option set during compilation (`:echo has(\"popupwin\")` should print out 1), and `compatible` option is off (`:echo &compatible` should print out 0).
You can install the plugin by simply putting the files of the plugin in `plugin` folder in your `.vim` directory. One of the commands that could be used is `wget`. Type this in your terminal:
To have documentation, do the same with files in doc/ directory - you need to put them into doc/ directory in your .vim directory.
You may find plugin managers convenient to install and manage plugins you want in your Vim, including vimwintab.
vim-plug - https://github.com/junegunn/vim-plug
If you are using vim-plug plugin manager, refer to their manual (https://github.com/junegunn/vim-plug#usage).
Vundle - https://github.com/VundleVim/Vundle.vim
Vundle plugin manager seems to require `filetype off`, which is desirable, though not required, to be `on` for vimwintab smooth operation, so we are not describing the procedure here.
Pathogen - https://github.com/tpope/vim-pathogen
If you are using Pathogen plugin manager, refer to their manual here(https://github.com/tpope/vim-pathogen#installation).
Click on the package to download.
ip used for rating: 22.214.171.124