Next file: :n
Previous file: :p, :N or :prev depending on which vi implementation you’re using.
Here’s a typical cheat sheet which has a section “Files” on this topic.
http://www.lagmonster.org/docs/vi2.html
Next file: :n
Previous file: :p, :N or :prev depending on which vi implementation you’re using.
Here’s a typical cheat sheet which has a section “Files” on this topic.
http://www.lagmonster.org/docs/vi2.html