Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-10-2004, 05:25 AM   #1
Registered: Jul 2004
Posts: 256

Rep: Reputation: 30
vim question

really sorry. Have a short memory.

if I use vim to open 2 file: "vim file1 file2"

how do I switch between the 2 file
Old 09-10-2004, 05:30 AM   #2
Senior Member
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

one possibility is..

will do the trick


Old 09-10-2004, 11:04 AM   #3
Registered: Sep 2003
Location: USA
Distribution: Fedora 27
Posts: 73

Rep: Reputation: 19
Another way is like this

Moves to the next file

Writes out the current file and moves to the next

<Ctrl-6> or <Ctrl-^>
Toggles back and forth between the two files



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
vim and vi editing question penguin_powered Programming 5 07-24-2005 06:43 PM
quick vim question mbegovic Linux - Software 2 05-14-2004 01:23 PM
Question about VIM configuration ICO Linux - General 4 01-06-2004 08:41 PM
Question about vim and gcc. sharathkv Linux - Newbie 1 07-31-2003 07:09 AM
vi/vim question kiley_rodgers Slackware 1 06-18-2003 10:15 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration