Script Roundup: vim-expand-region, Git Support

Alex R. Young
usevim
Published in
1 min readApr 30, 2013

Send in your Vim scripts for review through our contact form.

vim-expand-region

vim-expand-region (GitHub: terryma / vim-expand-region, License: MIT) by Terry Ma allows visual selections to be expanded. Pressing + will expand the selection, and _ will shrink it.

The expansion is performed using text objects, and the text object list used by the plugin can be customised by passing a dictionary to expand_region#custom_text_objects -- the documentation includes an example of how to do this.

Git Support

Git Support by Wolfgang Mehner allows Git to be called from within Vim, and it also provides a menu for the commands supported by the plugin. It has some nice features like automatic folds for diffs and logs.

The author has uploaded screenshots on his site that illustrate the main features.

--

--