Re: newbie: vi - go to previous file
Brunoc_at_quipo.it
Date: 11/15/03
- Previous message: List: "Re: OpenOffice 1.1 + gtk2 look n feel"
- In reply to: Konrad Heuer: "Re: newbie: vi - go to previous file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "Konrad Heuer" <kheuer2@gwdg.de> Date: Sat, 15 Nov 2003 23:15:38 +0100
On Tuesday, November 11, 2003, Konrad Heuer wrote:
>On Tue, 11 Nov 2003, Zhang Weiwu wrote:
>
>>Hello. I am using the BSD's vi not vim.
>>
>>I learned from :exusage that :N is to swich to the next file in argument
>>list while :P swich to the previous file. :N woks fine, while :P does
>>nothing.
>>
>>say, I run ">vi file1 file2", which opens file1, :N begin to edit file2,
>>then I press :P, I thought I should go to file1, but I'm still editing
>>file2.
>try :prev - :p seems to be an abbreviation for a different command.
>
>Regards
Konrad Heuer (kheuer2@gwdg.de) ____ ___ _______
When you edit multiple files in vi,
(whether you start from the command line like "vi file1 file 2. . . ",
or by starting vi with a single file or with no file argument at all,
in which case you can load a file from inside the vi with the
vi command ':n <file_to_load>'),
you can cycle from a file to the next
(and when you are at the last,you restart with
the first and so on,like in a "ring")
inside the editor with the command ':n#' (yes, ":n#")
Cheers
Bruno
--- [Quipo ISP - Questa E-mail e' stata controllata dal programma Declude Virus] [Quipo ISP - This E-mail was scanned for viruses by Declude Virus] _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: List: "Re: OpenOffice 1.1 + gtk2 look n feel"
- In reply to: Konrad Heuer: "Re: newbie: vi - go to previous file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|