1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<link rel="Stylesheet" type="text/css" href="/css/style.css" >
<title>winmanager - A windows style IDE for Vim 6.0 : vim online</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="KEYWORDS" content="Vim, Vi IMproved, text editor, home, documentation, tips, scripts, news">
<meta name="viewport" content="width=1000, initial-scale=1">
<link rel="shortcut icon" type="image/x-icon" href="/images/vim_shortcut.ico">
</head>
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" bgcolor="#ffffff">
<!-- HEADER, SPONSOR IMAGE, VIM IMAGE AND BOOK AD -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" bordercolor="red">
<tr>
<td colspan="4" class="lightbg"><img src="/images/spacer.gif" width="1" height="5" alt=""></td>
</tr>
<tr>
<td class="lightbg"> </td>
<td class="lightbg" align="left"><a href="https://www.vim.org/sponsor/index.php"><img src="/images/sponsorvim.gif" alt="sponsor Vim development" border="0"></a></td>
<td class="lightbg" align="center">
<a href="/"><img src="/images/vim_header.gif" border="0" alt="Vim logo" class="align-middle"></a>
</td>
<td class="lightbg" align="right"><a href="http://iccf-holland.org/click5.html"><img src="/images/buyhelplearn.gif" alt="Vim Book Ad" border="0"></a></td>
</tr>
<tr>
<td colspan="4" class="lightbg"><img src="/images/spacer.gif" width="1" height="5" alt=""></td>
</tr>
<tr>
<td colspan="4" class="darkbg"><img src="/images/spacer.gif" width="1" height="10" alt=""></td>
</tr>
</table>
<!-- THE PAGE BODY: BETWEEN HEADER AND FOOTER -->
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<col width="180">
<col width="1">
<tr valign="top">
<td class="sidebar">
<table width="180" cellpadding="4" cellspacing="0" border="0">
<tr valign="top">
<td class="sidebar">
<!-- INCLUDE THE PAGE NAVIGATION -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" bordercolor="red">
<tr>
<td><small>not logged in (<a href="https://www.vim.org/login.php">login</a>)</small></td>
</tr>
<tr><td>
<small> </small>
</td></tr>
<tr>
<td><img src="/images/spacer.gif" alt="" border="0" width="1" height="1"></td>
</tr>
<tr>
<td class="darkbg"><img src="/images/spacer.gif" alt='' border="0" height="3"></td>
</tr>
<tr>
<td><img src="/images/spacer.gif" alt="" border="0" width="1" height="2"></td>
</tr>
<tr>
<td class="sidebarheader"><a href="https://www.vim.org/">Home</a></td>
</tr>
<tr>
<td class="sidebarheader"><a href="https://www.vim.org/search.php">Advanced search</a></td>
</tr>
<tr>
<td><img src="/images/spacer.gif" alt="" border="0" width="1" height="7"></td>
</tr>
<tr>
<td class="checker"><img src="/images/spacer.gif" alt='' border="0" height="1"></td>
</tr>
<tr>
<td><img src="/images/spacer.gif" alt="" border="0" width="1" height="7"></td>
</tr>
<tr>
<td class="sidebarheader"><a href="https://www.vim.org/about.php">About Vim</a></td>
</tr>
<tr>
<td class="sidebarheader"><a href="https://www.vim.org/community.php">Community</a></td>
</tr>
<tr>
<td class="sidebarheader"><a href="https://www.vim.org/news/news.php">News</a></td>
</tr>
<tr>
<td class="sidebarheader"><a href="https://www.vim.org/sponsor/index.php">Sponsoring</a></td>
</tr>
<tr>
<td class="sidebarheader"><a href="https://www.vim.org/trivia.php">Trivia</a></td>
</tr>
<tr>
<td class="sidebarheader"><a href="https://www.vim.org/docs.php">Documentation</a></td>
</tr>
<tr>
<td class="sidebarheader download"><a href="https://www.vim.org/download.php">Download</a></td>
</tr>
<tr>
<td><img src="/images/spacer.gif" alt="" border="0" width="1" height="7"></td>
</tr>
<tr>
<td class="checker"><img src="/images/spacer.gif" alt='' border="0" height="1"></td>
</tr>
<tr>
<td><img src="/images/spacer.gif" alt="" border="0" width="1" height="7"></td>
</tr>
<tr>
<td class="sidebarheader"><a href="https://www.vim.org/scripts/index.php">Scripts</a></td>
</tr>
<tr>
<td class="sidebarheader"><a href="https://www.vim.org/tips/index.php">Tips</a></td>
</tr>
<tr>
<td class="sidebarheader"><a href="https://www.vim.org/account/index.php">My Account</a></td>
</tr>
<tr>
<td><img src="/images/spacer.gif" alt="" border="0" width="1" height="7"></td>
</tr>
<tr>
<td class="checker"><img src="/images/spacer.gif" alt='' border="0" height="1"></td>
</tr>
<tr>
<td><img src="/images/spacer.gif" alt="" border="0" width="1" height="7"></td>
</tr>
<tr>
<td class="sidebarheader"><a href="https://www.vim.org/huh.php">Site Help</a></td>
</tr>
</table>
<br>
<table width="172" cellpadding="0" cellspacing="0" border="0">
<tr><td><img src="/images/spacer.gif" alt="" border="0" width="1" height="8"></td></tr>
<tr><td class="darkbg"><img src="/images/spacer.gif" width="1" height="3" alt=""></td></tr>
</table>
<br>
<!-- INCLUDE THE PAGE SIDEBAR TEXT -->
</td>
</tr>
</table>
</td>
<td class="darkbg"><img src="/images/spacer.gif" width="1" height="1" border="0" alt=""><br></td>
<td>
<table width="100%" cellpadding="10" cellspacing="0" border="0" bordercolor="red">
<tr>
<td valign="top">
<span class="txth1">winmanager : A windows style IDE for Vim 6.0</span>
<br>
<br>
<!-- karma table -->
<table cellpadding="4" cellspacing="0" border="1" bordercolor="#000066">
<tr>
<td class="lightbg"><b> script karma </b></td>
<td>
Rating <b>991/362</b>,
Downloaded by 80535 </td>
<td class="lightbg">
<b> Comments, bugs, improvements </b>
</td>
<td>
<a href="http://vim.wikia.com/wiki/Script:95">Vim wiki</a>
</td>
</tr>
</table>
<p>
<table cellspacing="0" cellpadding="0" border="0">
<tr><td class="prompt">created by</td></tr>
<tr><td><a href="/account/profile.php?user_id=247">Srinath Avadhanula</a></td></tr>
<tr><td> </td></tr>
<tr><td class="prompt">script type</td></tr>
<tr><td>utility</td></tr>
<tr><td> </td></tr>
<tr><td class="prompt">description</td></tr>
<tr><td>winmanager: A classical windows type environment for vim6.0
<br>
<br>Snapshot : <a target="_blank" href="http://robotics.eecs.berkeley.edu/~srinath/vim/snapshot2.JPG">http://robotics.eecs.berkeley.edu/~srinath/vim/snapshot2.JPG</A>
<br>Detailed Instructions : <a target="_blank" href="http://robotics.eecs.berkeley.edu/~srinath/vim/winmanager.htm">http://robotics.eecs.berkeley.edu/~srinath/vim/winmanager.htm</A>
<br>Upates : <a target="_blank" href="http://robotics.eecs.berkeley.edu/~srinath/vim/winmanager-2.0.htm">http://robotics.eecs.berkeley.edu/~srinath/vim/winmanager-2.0.htm</A>
<br>
<br>winmanager is a plugin which implements a classical windows type IDE in Vim-6.0. Basically, you have the directory tree
<br>and the buffer list as 2 windows which stay on the left and the editing is done in a seperate area on the left. People
<br>have already made excellent File and Buffer explorers seperately and I thought that it might be a cool idea to combine
<br>them both. winmanager.vim combines the standard File Explorer which ships with Vim6.0 and a Buffer Explorer written by
<br>Jeff Lanzarotta into one package. It has the following features:
<br>
<br>1. the buffer listing is dynamic: i.e as you keep changing windows, editing new files, etc, the buffer list changes
<br>dynamically. the window also resizes dynamically, i.e it tries to occupy the minimum possible space to display all the
<br>currently listed windows. also, only the filename (i.e without path) is displayed in this window. however, the full path
<br>name is echoed on the command line as one moves around.
<br>
<br>2. the file explorer window doesn't actually edit a directory. Its a new empty file with modifiable off, etc. so that it
<br>doesnt eat up buffer numbers as you roam around the directory tree. I found the original behaviour slightly annoying...
<br>Also, I didnt find a way to change drives i.e go from c:/ to h:/ in the original explorer.vim. therefore i have added a
<br>tiny new mapping 'C' which changes the currently displayed directory to pwd.
<br>
<br>Thanks!
<br>
<br></td></tr>
<tr><td> </td></tr>
<tr><td class="prompt">install details</td></tr>
<tr><td>For version >= 2.0
<br>=============
<br>1. copy the file to your $HOME/.vim or $HOME\vimfiles directory
<br>
<br>2. unzip it (its a zip file) at that location. this should create the files
<br> - plugin/
<br> winmanager.vim
<br> winfileexplorer.vim
<br> wintagexplorer.vim
<br> - doc/
<br> winmanager.txt
<br>
<br> IMPORTANT NOTE:
<br>
<br> i . This version of winmanager ONLY works if you have the latest version
<br> bufexplorer.vim. (<a href="/scripts/script.php?script_id=42">vimscript #42</a>).
<br> The idea is that winmanager will no longer contain a duplicate copy
<br> of bufexplorer.vim. This reduces script bloat, makes updates easier
<br> and in genral makes the world a better place.
<br>
<br>3. vim -c "helptags ~/.vim/doc" -c "q" (unix)
<br> or
<br> vim -c "helptags ~/vimfiles/doc" -c "q" (windows)
<br> (this step should install winmanager.txt as a local help file on your
<br> system. if this doesnt work, see ":he add-local-help" to see how to do
<br> it).
<br>
<br>You will also need to change the mappings you might have used with
<br>winmanager-1.x to
<br>
<br> map <c-w><c-f> :FirstExplorerWindow<cr>
<br> map <c-w><c-b> :BottomExplorerWindow<cr>
<br> map <c-w><c-t> :WMToggle<cr>
<br>
<br>and the variable name g:bufExplorerWidth has been changed to
<br>g:winManagerWidth just to be more consistent.
<br></td></tr>
<tr><td> </td></tr>
</table>
<span class="txth2">script versions</span> (<a href="add_script_version.php?script_id=95">upload new version</a>)
<p>
Click on the package to download.
<p>
<table cellspacing="2" cellpadding="4" border="0" width="100%">
<tr class='tableheader'>
<th valign="top">package</th>
<th valign="top">script version</th>
<th valign="top">date</th>
<th valign="top">Vim version</th>
<th valign="top">user</th>
<th valign="top">release notes</th>
</tr>
<tr>
<td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=754">winmanager.zip</a></td>
<td class="rowodd" valign="top" nowrap><b>2.3</b></td>
<td class="rowodd" valign="top" nowrap><i>2002-04-03</i></td>
<td class="rowodd" valign="top" nowrap>6.0</td>
<td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=247">Srinath Avadhanula</a></i></td>
<td class="rowodd" valign="top" width="2000">Sorry, but I just found out that I had uploaded a week old version last time which didnt have any of the promised new features, namely favorite dirs, improved wintagexplorer etc. Its a huge surprise that I didnt get flooded with complaints! oh well.. also fixed a few minor bugs with both winmanager.vim and wintagexplorer.vim, so this is not a completely wasted upload.
<br>
<br>Please see release notes for version 2.2 for changes.
<br>Once again, you need <a href="/scripts/script.php?script_id=42">vimscript #42</a> (bufexplorer.vim) for this to work.</td>
</tr>
<tr>
<td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=740">winmanager.zip</a></td>
<td class="roweven" valign="top" nowrap><b>2.2</b></td>
<td class="roweven" valign="top" nowrap><i>2002-04-01</i></td>
<td class="roweven" valign="top" nowrap>6.0</td>
<td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=247">Srinath Avadhanula</a></i></td>
<td class="roweven" valign="top" width="2000">New Features:
<br>1. The file explorer now has a favorite directories option. The list of
<br> favourite directories is shown above the current listing with '+'
<br> signs prefixed to each fav dir. In order to change to a favorite
<br> directory, you just go to that dir and press <enter>. Set g:favDirs
<br> in your ~/.vimrc to use set a default list of favorite directories.
<br> This is a new-line seperated list of directories. For example:
<br> let g:favDirs =
<br> 'e:/srinath/testing/vim/vimfiles/plugin/'."\n".
<br> 'e:/srinath/testing/vim/vimfiles/ftplugin/'."\n".
<br> 'e:/srinath/testing/vim/vimfiles/compiler/'
<br> After startup, you can use 'f' to add the currently displayed
<br> directory to the favourites.
<br> NOTE: Use full path names. Use a trailing back-slash is safe.
<br> NOTE: Use double quotes to enter a new-line.
<br> NOTE: By default, $HOME is always included in the list. Do *not*
<br> include it in g:favDirs.
<br>
<br>2. wintagexplorer.vim now has a feature where it saves its display in a
<br> file .vimtagsdisplay in the tags directory. This speeds up display
<br> next time you use wintagexplorer. useful if you work with large tags
<br> files.
<br> Put
<br> let g:saveTagsDisplay = 0
<br> in your ~/.vimrc to disable this feature.
<br>
<br>3. There are a couple of more functions which winmanager exposes.
<br> 1. WinManagerGetLastEditedFile(n)
<br> returns the n^th last file being edited.
<br> 2. IsWinManagerVisible()
<br> returns 1 or 0 depending on whether explorer windows are visible.
<br> These functions are internally necessary for adding on
<br> FlistTree.vim to winmanager.vim. This is a new addon to winmanager
<br> based on Dr. Charles E. Campbell's flisttree utility which
<br> graphically shows the function dependency within C files.
<br> FlistTree.vim is expected to be released shortly.
<br>
<br>ug Fixes:
<br>1. When a file is chosen from the bufexplorer list and its not currently
<br> visible, then the cursor jumps back to the first row.
<br>
<br>2. Sometimes the <C-N> and <C-p> mappings would be lost, when an
<br> explorer didnt display properly.
<br>
<br>3. Several bugs in wintagexplorer.vim have been resolved.
<br> (Thanks to Madoka Machitani and Mike Williams for valuable help).
<br> wintagexplorer.vim is also more intelligent about remembering its
<br> display.
<br></td>
</tr>
<tr>
<td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=587">winmanager.zip</a></td>
<td class="rowodd" valign="top" nowrap><b>2.1</b></td>
<td class="rowodd" valign="top" nowrap><i>2002-02-13</i></td>
<td class="rowodd" valign="top" nowrap>6.0</td>
<td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=247">Srinath Avadhanula</a></i></td>
<td class="rowodd" valign="top" width="2000"> 1. worked on improving the speed of wintagexplorer.vim
<br> (the latest version is almost 3 times faster than the previous
<br> version and faster for larger files).
<br> 2. removed some bugs from wintagexplorer.vim where the mappings would
<br> dissapear because of caching.
<br> 3. fixed some important documentation bugs (thanks to Madoka
<br> Machitani.)
<br> 4. also used an augroup for the autocommands used in winmanager to
<br> better handle cases where the autcommands are deleted. (thanks to
<br> Madoka again)
<br> 5. made fileexplorer.vim not screw up the search history. this was
<br> caused because of ^"= getting into the search history.
<br> (thanks to Jeff Lanzarotta and Xiangjiang Ma).
<br>
<br> NOTE: I frequently get asked the following question:
<br> Q. From version 2.0, the command :GotoBufExplorerWindow does not work.
<br> Whats wrong?
<br> A. Starting from 2.0, the commands have been changed as follows:
<br> old new
<br> GotoFileExplorerWindow -----> FirstExplorerWindow
<br> GotoBufExplorerWindow -----> BottomExplorerWindow
<br></td>
</tr>
<tr>
<td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=495">winmanager.zip</a></td>
<td class="roweven" valign="top" nowrap><b>2.0</b></td>
<td class="roweven" valign="top" nowrap><i>2002-01-18</i></td>
<td class="roweven" valign="top" nowrap>6.0</td>
<td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=247">Srinath Avadhanula</a></i></td>
<td class="roweven" valign="top" width="2000">This is a major revision of winmanager with lots of new features, improved
<br>stability, etc.
<br>
<br>IMPORTANT: you need to download and install the latest version of
<br>bufexplorer (<a href="/scripts/script.php?script_id=42">vimscript #42</a>) to make this version of winmanager work.
<br>
<br>1. One of the major new features of this version is (hopefully, touch wood,
<br>etc) its stability. It has undergone extensive QA by Xiangjiang Ma (and
<br>other users of the 2.0 beta version have also been using it for a couple of
<br>weeks and have reported a few bugs). A big thanks to him (and others) for
<br>all the valuable help. Infact a lot of the new features and the
<br>implementation methods owe their style/origin to his ideas.
<br>
<br>2. This version of winmanager no longer ships with a duplicate of
<br>bufexplorer.vim. This has many advantages such as a reduction in script
<br>bloat and in general promotes the idea of modularity. The latest version of
<br>bufexplorer.vim (see above) provides hooks so that winmanager can
<br>communicate with it. (thanks to Jeff Lanzarotta for making the necessary
<br>changes).
<br>
<br>3. Becuase of some new features of bufexplorer.vim, winmanager is able to
<br>offer better dynamic behavior. For example, when you open up winmanager
<br>when your editing only a single buffer, bufexplorer will not be shown. As
<br>soon as at least 2 buffers are opened, bufexplorer is automatically opened.
<br>
<br>4. This version provides an easy way to customize the window layout of
<br>winmanager using non-default values of the global variable,
<br>g:winManagerWindowLayout. (see ":he winmanager-customizing" for details).
<br>
<br>5. This version also provides a way to use winmanager.vim to "edit"
<br>directories instead of the standard exploerer.vim. To do this, you will
<br>need to disable the standard explorer.vim (either by renaming it to
<br>explorer.txt or putting ":let loaded_explorer = 1" in your .vimrc). You
<br>then need to put
<br> :let g:defaultExplorer = 0
<br>in your .vimrc to let winmanager know that its supposed to take over.
<br>
<br>6. I have tried to set-up a framework wherby it is very easy to add other
<br>IDE type plugins to winmanager. By this I mean that a plugin author
<br>could, with the minimum of effort make a plugin which can be integrated
<br>into winmanager.
<br>
<br>7. For the purpose of demonstrating the first feature, in this new version,
<br>winmanager also ships with another lightweight plugin called
<br>tagsexplorer.vim. This is an elementary plugin which shows the tags in the
<br>present directory in a fancy manner and offers some simple ways of
<br>navigating between them.
<br>To see this in action [File List] window and press CTRL-N.
<br></td>
</tr>
</table>
<!-- finish off the framework -->
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- END OF THE PAGE BODY: BETWEEN HEADER AND FOOTER -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" bordercolor="red">
<tr><td colspan="4"><img src="/images/spacer.gif" width="1" height="5" alt=""></td></tr>
<tr><td colspan="4" bgcolor="#000000"><img src="/images/spacer.gif" height="2" width="1" alt=""></td></tr>
<tr><td colspan="4"><img src="/images/spacer.gif" width="1" height="5" alt=""></td></tr>
<tr>
<td><img src="/images/spacer.gif" width="5" height="1" alt=""></td>
<td align="left" valign="top"><small>
If you have questions or remarks about this site, visit the
<a href="http://vimonline.sf.net">vimonline development</a> pages.
Please use this site responsibly.
<br>
Questions about <a href="http://www.vim.org/about.php">Vim</a> should go
to the <a href="http://www.vim.org/maillist.php">maillist</a>.
Help Bram <a href="http://iccf-holland.org/">help Uganda</a>.
</small>
</td>
<td align="right" valign="top">
</td>
<td><img src="/images/spacer.gif" width="5" height="1" alt=""></td>
</tr>
<tr><td colspan="4"><img src="/images/spacer.gif" width="1" height="5" alt=""></td>
</tr>
</table>
</body>
</html>
|