View previous topic :: View next topic |
Author |
Message |
mhodak Veteran
Joined: 15 Nov 2003 Posts: 1218
|
Posted: Mon Feb 07, 2005 11:44 pm Post subject: Vim question: How to go to previous file? |
|
|
Just a simple question:
I frequently give vim as an argument list of files and then I can go from the one that is displayed to the next one by using ":n". However, I cannot figure out how the othe way, backwards, (":p" does not not work - help says it is printing or something).
So what is the opposite of ":n" when working with multiple files? |
|
Back to top |
|
|
qanuta n00b
Joined: 04 Apr 2003 Posts: 43 Location: NJ, USA
|
Posted: Mon Feb 07, 2005 11:57 pm Post subject: |
|
|
A simple ":prev" will do it. |
|
Back to top |
|
|
mhodak Veteran
Joined: 15 Nov 2003 Posts: 1218
|
Posted: Tue Feb 08, 2005 12:09 am Post subject: |
|
|
qanuta wrote: | A simple ":prev" will do it. |
That works, thanks. |
|
Back to top |
|
|
|