Re: Bash, readline, initial mode with vi line-editing

From: Richard T. Kus (richk_at_panix.com)
Date: 05/21/04

  • Next message: Alan Connor: "Re: Bash, readline, initial mode with vi line-editing"
    Date: 20 May 2004 19:01:20 -0400
    
    

    In article <Lx7rc.3620$be.2879@newsread2.news.pas.earthlink.net>,
    Alan Connor <xxxx@yyy.zzz> wrote:
    >On 20 May 2004 06:46:23 -0700, Peter Scott <p.scott@shu.ac.uk> wrote:
    >>
    >>
    >> Hey Folks,
    >>
    >> On Redhat 8.0, with bash 2.05b and readline 4.3, vi line-editing
    >> starts in insert mode.
    >>
    >> On the other Unixes I use, it starts in command mode which seems more
    >> natural as I usually want to move about and edit the line, for
    >> example: wwwcwfred<return>".
    >>
    >> It wasn't like this with bash 2.05a on earlier Redhats, and having two
    >> behaviours is a time-waster.
    >>
    >> Does anyone know how to fix this or where to look?
    >>
    >> TIA,
    >> Peter
    >
    >I love vi, but the bash vi command-line editing option drove me nuts: I
    >could never be certain what mode I was in, so I use the emacs mode now.
    >
    >The 'emacs' keybindings are much like the traditional Unix ones and therefore
    >more portable, and there's really no way around knowing them because too many
    >applications use them....Just a thought.
    >
    >I wouldn't have Emacs on my box, however.
    >
    >AC
    >
     Which vi are you using? VIM, old vi, or nvi?

     richk


  • Next message: Alan Connor: "Re: Bash, readline, initial mode with vi line-editing"

    Relevant Pages

    • Re: Bash, readline, initial mode with vi line-editing
      ... > On the other Unixes I use, it starts in command mode which seems more ... but the bash vi command-line editing option drove me nuts: ... The 'emacs' keybindings are much like the traditional Unix ones and therefore ...
      (comp.unix.questions)
    • Re: Bash, readline, initial mode with vi line-editing
      ... Peter Scott wrote: ... > Hey Folks, ... > On the other Unixes I use, it starts in command mode which seems more ...
      (comp.unix.questions)
    • Re: Bash, readline, initial mode with vi line-editing
      ... > Hey Folks, ... > On the other Unixes I use, it starts in command mode which seems more ... > Does anyone know how to fix this or where to look? ...
      (comp.unix.questions)
    • Re: Great SWT Program
      ... In command mode, one is typing commands; ... It's having sequences analogous to typing commands at a shell prompt, ... in while your back was turned makes the editor do nothing when the 'e' ... And then learning the wacky bindings of vi or emacs is ...
      (comp.lang.java.programmer)
    • Re: Random non-binding survey on naming
      ... fly" at my first job, logging in to some old government machines, ... and no one really explained to me that there is a "command mode" ... One advantage of Emacs is that it's basically modeless. ...
      (rec.arts.sf.composition)