[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bash 4.2] In vi mode, cc failed to change the whole line
From: |
Mun |
Subject: |
Re: [bash 4.2] In vi mode, cc failed to change the whole line |
Date: |
Thu, 17 Feb 2011 20:28:30 -0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hi Chet,
On Thu, Feb 17, 2011 at 06:00 PM PST, Chet Ramey wrote:
CR> On 2/16/11 11:43 PM, Clark J. Wang wrote:
CR> > For example, in vi insert mode, I first enter a command like this:
CR> >
CR> > # hello world
CR> >
CR> > Then I press ESC and type cc, the cursor just moves to the beginning
(under
CR> > the char `h') and the whole line is not emptied. If I type more chars
after
CR> > cc, only the first `h' char is replaced and following `ello world' keeps
CR> > unchanged. Note that other vi mode commands like cw and c$ work fine.
CR>
CR> Thanks for the report. Please try the attached patch; it fixes the problem
CR> in the testing I've done.
The patch works perfectly for me. Thanks very much.
Regards,
--
Mun
- [bash 4.2] In vi mode, cc failed to change the whole line, Clark J. Wang, 2011/02/16
- Re: [bash 4.2] In vi mode, cc failed to change the whole line, Mun, 2011/02/17
- Re: [bash 4.2] In vi mode, cc failed to change the whole line, Clark J. Wang, 2011/02/17
- Re: [bash 4.2] In vi mode, cc failed to change the whole line, Chet Ramey, 2011/02/17
- Re: [bash 4.2] In vi mode, cc failed to change the whole line,
Mun <=