[lug] vi question
Gary.Hodges at noaa.gov
Fri Aug 15 13:15:23 MDT 2008
Sean Reifschneider wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Gary Hodges wrote:
>> Previously my colleague could enter into the replace mode (Shift-R) and
>> then use the arrow keys to move around and replace text. Now the arrow
>> keys produce a letter (A,B,C or D) depending on the key, each on a new
> Make sure you have the enhanced vim packages installed, and that you have
> vim rather than another vi editor like nvi installed. Under
> CentOS/RHEL/Fedora I believe you may need "vim-enhanced", under
> Debian/Ubuntu maybe "vim-full"? If those packages are installed, try
> running "vim" instead of "vi" and see if that makes it do as he likes.
> Those are a few things to try.
While looking for the vim-full package I noticed that vim wasn't
installed. With vim installed the desired behavior returned. I went
ahead and installed vim-full as well. Thanks for the suggestions!
More information about the LUG