Help w/ vi command mode

From: Paul Roseboom (proseboom_at_uscd.com)
Date: 03/26/04


Date: Fri, 26 Mar 2004 15:05:11 -0500

I've been using emacs for a while, and am just trying vi but finding
it very hard to use. I've read some good online resources, but have a
couple basic questions.

Is "command mode" what I enter if I type "Q", represented by the : at
the bottom? Or is command mode what I'm in when I start vi? When I
enter ZZ after it starts, it exits right away as I expect, but if I
enter ZZ from the : prompt I get "not an editor command".

And a simple question.. if for example I want to cut lines 10-12 out
of my program and paste them after line 30 do I use 'y' and 'p'?

Thanks very much!



Relevant Pages

  • Re: Help w/ vi command mode
    ... I've read some good online resources, ... > couple basic questions. ... When you open a file you will be in command mode. ... As for cutting and pasting, there are a number of different ways to do this, depending on ...
    (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)
  • 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: Good native Linux text editors ???
    ... in command mode and take a 2 keystroke penalty whenever ... That's 11 keystrokes (counting, ... The Xemacs idea is a good idea as far as productive editing ... that I can probably count on Emacs being installed on most ...
    (comp.os.linux.development.apps)