Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Vim question: How to go to previous file?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
mhodak
Veteran
Veteran


Joined: 15 Nov 2003
Posts: 1218

PostPosted: Mon Feb 07, 2005 11:44 pm    Post subject: Vim question: How to go to previous file? Reply with quote

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
View user's profile Send private message
qanuta
n00b
n00b


Joined: 04 Apr 2003
Posts: 43
Location: NJ, USA

PostPosted: Mon Feb 07, 2005 11:57 pm    Post subject: Reply with quote

A simple ":prev" will do it.
Back to top
View user's profile Send private message
mhodak
Veteran
Veteran


Joined: 15 Nov 2003
Posts: 1218

PostPosted: Tue Feb 08, 2005 12:09 am    Post subject: Reply with quote

qanuta wrote:
A simple ":prev" will do it.

That works, thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum