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
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.