1. Download Winmanager.zip
2. Copy the Winmanager.zip to the ~/.vim directory and unzip the
3. The following files will appear in the ~/.vim/plugin after decompression:
[Email protected]:~/.vim# ls-a
. .. Doc plugin taglist_46.zip. Viminfo. VIMRC Winmanager.zip
[Email protected]:~/.vim# ls plugin/-l
Total 248
-rw-r--r--1 root root 152242 February Taglist.vim
-rw-r--r--1 root root 39277 April 4 2002 Winfileexplorer.vim
-rw-r--r--1 root root 39499 April 4 2002 Winmanager.vim
-rw-r--r--1 root root 13399 April 4 2002 Wintagexplorer.vim
[Email protected]:~/.vim#
So the plug-in side is installed, the next step is how to configure and use the
4. Add the following settings to the ~/.VIM/.VIMRC:
"""""""""""""""""""""""""""""""
"" Winmanager setting
"""""""""""""""""""""""""""""""
"Set Interface segmentation
"Let G:winmanagerwindowlayout =" bufexplorer,fileexplorer| TagList "
Let g:winmanagerwindowlayout = "taglist| Fileexplorer,bufexplorer "
"Sets the width of the Winmanager, which defaults to 25
Let G:winmanagerwidth = 30
"Define Open Close Winmanager button
Nmap <silent> <F8>:wmtoggle<cr>
After the plug-in installation setup is complete, the basic interface function can be realized.
Press F8 to open/close the interface.
Both TagList and FileExplorer are displayed. Press <c-n> in the FileExplorer window to switch to the Bufexplorer window.
5. Currently, when Vim opens a file, it executes the following three commands:
Set Tags=/study/linux-git/linux-git/linux-3.18.3/tags
: Tlist
: Wmtoggle
I used the ctags, TagList and Winmanager three plugins.
The main is to use three of tools with skilled
Vim configuration (v): Install configuration Winmanager plug-in