Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-21-2003, 10:18 AM   #1
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290

Rep: Reputation: 30
How to shift files when using VIM?

Not two, three files, a lot of files. How to shift each other?
Thanks a lot.
Old 10-21-2003, 03:58 PM   #2
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 926Reputation: 926Reputation: 926Reputation: 926Reputation: 926Reputation: 926Reputation: 926Reputation: 926
Can you rephrase that? I don't understand
what you're trying to achieve.

Old 10-21-2003, 04:25 PM   #3
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
If you're trying to cycle through different buffers (files), try :bn (buffer - next) and :bp (buffer previous).

You can also split a vim window using :sp <filename>.



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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vim leaves temp files everywhere dive Slackware 7 11-21-2005 01:22 PM
VIM: editing files via ftp robertmarkbram Linux - Software 2 10-17-2004 02:41 AM
multiple files in VIM james.farrow Linux - Newbie 3 07-09-2004 06:46 AM
Where do I find the help files to customize the VIM editor sharathkv Linux - Newbie 1 11-21-2003 11:37 PM
editing two files in vim qanopus Linux - Software 2 12-28-2002 09:56 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:03 PM.

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
Open Source Consulting | Domain Registration