CreateMenuPath 2.0

CreateMenuPath is a Vim plugin that creates a menu that mirrors a directory tree.

  Add it to your Download Basket!

 Add it to your Watch List!


Rate it!
send us
an update
GPL (GNU General Public License) 
2.6/5 10
Christian J. Robinson
ROOT \ Text Editing&Processing \ Others
CreateMenuPath is a Vim plugin that creates a menu that mirrors a directory tree.

CreateMenuPath({path} [, {menu name} [, {menu priority} [, {filename ignore pattern1} [, {filename ignore pattern2} ...]]]])

:call CreateMenuPath('~') " Creates a menu of your home directory.

:call CreateMenuPath('~/public_html', 'Files.Web Page', '600.100', 'c.(gif|jpe=g|png|ico|bmp|tiff=)$') " Files.Web Page menu, priority 600.100, ignoring some image files.

A default filename ignore pattern is provided which ignores a number of image, audio and archive files, but it's incomplete.

The global variable "CMP_Recurse_Limit" can be set to specify the maximum sub-directory depth to scan. Set it to 0 (the default) for infinite recursion. Set it to 1 to scan only the specified directory.

About Vim:

Vim is a text editor first released by Bram Moolenaar in 1991 for the Amiga computer. Vim was created as an extended version of the vi editor, with many additional features designed to be helpful in editing program source code; its full name is Vi IMproved.

While Vim is cross-platform, it is most popular on Unix-like operating systems.

Released under a software license compatible with the GNU General Public License, Vim is free and open source software. The program's license includes some charityware clauses.

Like vi, Vim's interface is based not on menus or icons but on commands given in a text user interface; its GUI mode, gVim, adds menus and toolbars for commonly used commands but the full functionality is still expressed through its command line mode.

For many users learning Vim may be difficult and slow initially, but once the basics are understood they progress quickly and editing becomes more efficient. To facilitate this, Vim has a built-in tutorial for beginners. There is also the Vim Users' Manual that details the basic and more advanced Vim features. This manual can be read from within Vim, or found online.

Vim also has a built-in help facility (using the :help command) that allows users to query and navigate through commands and features.



What's New in This Release:

Allow more than one ignore pattern argument
Looping over the found files is simpler

Last updated on May 25th, 2008

#menu creator #directory tree #Vim plugin #Vim #directory #tree #mirroring

Add your review!