AllBuffersToOneWindow.vim : Bring all remote Vim window buffers together in one Vim window.
script karma |
Rating 6/5,
Downloaded by 1576 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
omi taku |
|
script type |
utility |
|
description |
Usage:
This script adds one new command ":AllBuffersToOneWindow".
You can use the ":AllBuffersToOneWindow" command to load buffers that are
loaded in remote Vim window in main Vim window.
1. Run Vim application (process A), and edit File1, File2, FIle3.
2. Run Vim application (process B), and edit File4, File5
3. Run Vim application (process C), and input ":AllBuffersToOneWindow"
command.
4. Input ":buffers" command. (Vim application process C)
File1, File2, File3, File4 and File5 are added to buffer list.
Note:
o To run this script, Vim needs to be compiled with "+clientserver" option.
o If buffer is file and can be read, buffer will be loaded in main Vim window.
o If buffer is already loaded in main window, buffer will not be loaded. |
|
install details |
1. Copy the AllBuffersToOneWindow.vim script to
$HOME/vimfiles/plugin or $HOME/.vim/plugin directory directory.
Refer to ':help add-plugin', ':help add-global-plugin' and ':help runtimepath'
for more details about Vim plugins.
2. Restart Vim.
3. To run this script, Vim needs to be compiled with "+clientserver" option. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|