previoue file edit in vi editor

Posted on 2003-03-20
Medium Priority
Last Modified: 2010-04-21
i am using vi editor sins 8 years. i am edit more than 5 file in vi
i want to edit previous file in vi ?
i am know how to edit next file
how can i edit previous file Please told me command?
Question by:hirve
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 38

Accepted Solution

yuzh earned 200 total points
ID: 8179541
reopen previous file


Expert Comment

ID: 8183259
to start again from the first one
then use

to reach the correct file
It's rewind, I like it because I hate to wtite filename or remember file numbers

Expert Comment

ID: 8184792
:n for next file
:N for previous file (upper case N)

Expert Comment

ID: 8220286
Press and hold down <ctrl><shift>, then hit the <6> key.  If you keep hitting the <6> key, this toggle between the current file and the previous file.

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question