Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.editors    |    What? Edlin ain't good enough for you?    |    123,932 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 123,381 of 123,932    |
|    Janis Papanagnou to Geoff Clare    |
|    Re: vi clones    |
|    09 Mar 24 04:41:20    |
      From: janis_papanagnou+ng@hotmail.com              On 08.03.2024 14:28, Geoff Clare wrote:       >       > I'm not sure how command-line editing works in vim, but in nvi it's       > wonderfully simple - after pressing : to get a command line, I just       > press Esc and a small window opens at the bottom of the screen       > containing the commands I've typed (with the cursor on the most       > recent, at the bottom). I can use all the normal vi editing commands       > in that window, except that Return executes the command on the current       > line (and closes the window).              In Vim you have that possibility as well and another simple one       in addition...              If you type ':' to enter an 'ex' command you just use the arrow       keys for navigation in the history; Arrow-Up will show you the       last command (and so on) and that way you navigate up and down in       the history. Then type either 'Enter' to re-execute it or use the       Arrow-Left/-Right keys to navigate in one 'ex' command to change       it if desired. All that happens in the bottom "ex-line".              The other option works exactly like the one you described for Nvi.       You enter that second split window in command mode by 'q:', do your       vi moves and changes in that window, and type 'Enter' to execute it.       (Nvi's 'Esc' typing is not necessary here.)              BTW, these two options for the 'ex' commands are available also for       the search history. Type '/' to search and then use the Arrow-Keys       navigation as above. Or type 'q/' in command mode to get the split       window and operate on it like with the 'ex' commands window above.              It's consistent, intuitive, and very easy to use.              Janis              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca