Product SiteDocumentation Site

1.232.  vim

1.232.1.  RHBA-2009:1117: bug fix update

Note

This update has already been released (prior to the GA of this release) as FASTRACK errata RHBA-2009:1117
Updated vim packages that resolve several issues are now available.
VIM (VIsual editor iMproved) is an updated and improved version of the vi editor.
These updated vim packages provide fixes for the following bugs:
  • autocommands are macro-like commands that the Vim editor runs when certain defined events occur, such reading or writing a certain file, leaving a buffer or window, or exiting Vim. Certain autocommands are provided with the vim package in Red Hat Enterprise Linux. However, if the user wanted to remove these autocommands, it was not easy to cleanly do so. With this update, the Red Hat-bundled autocommands are grouped into the "redhat" augroup, which allows the set of commands to be more easily manipulated or removed. (BZ#241308)
  • on 32-bit architectures, Vim calculated the total amount of available memory incorrectly. This miscalculation resulted in Vim slowing down significantly when opening large files. With these updated packages, Vim now calculates the total amount of available RAM differently, which avoids the potential slowdown when opening and/or working with very large files. (BZ#429208)
  • the package-provided vim.sh and vim.csh setup scripts in the /etc/profile.d directory, for the Bash and Tcsh shells respectively, employed incorrect shell scripting constructions that did not properly test certain conditions, such as whether strings returned by the "id" command could be empty. This update provides corrected setup scripts that fix these coding errors. (BZ#459823)
All users of vim are advised to upgrade to these updated packages, which resolve these issues.

Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-5 because CentOS-5 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-5 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.