Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-05-2014, 10:30 AM
|
#1
|
LQ Newbie
Registered: Jan 2013
Posts: 28
Rep:
|
open another file while you open a file on vim
I open a file on vim. Now I want to open another file. how I can do that?
For example I inter vim 1.c and now I have 1.c . but now I want to open 2.c. How I can do that? also how I can switch between them?
|
|
|
07-05-2014, 12:59 PM
|
#2
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep: 
|
One way is to open another terminal and run vim on that one as well. You tell us nothing about the system you're running so I can't be any more specific than that.
jdk
|
|
1 members found this post helpful.
|
07-05-2014, 01:21 PM
|
#3
|
LQ Newbie
Registered: Jan 2013
Posts: 28
Original Poster
Rep:
|
Thanks. I use ubuntu 14.04. and I want to have something like tabs.
|
|
|
07-05-2014, 08:16 PM
|
#4
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 20,023
|
This might help: http://www.cyberciti.biz/faq/howto-s...ux-vim-editor/
I haven't done it; I'm working to improve my vim skills, but haven't gotten this far yet.
|
|
1 members found this post helpful.
|
07-06-2014, 12:04 AM
|
#5
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep: 
|
The KDE terminal called Konsole uses tabs. Just type vim in the terminal then open a new tab in the same terminal and type it again. Doesn't the Ubuntu DE terminal have a similar feature?
jdk
|
|
1 members found this post helpful.
|
07-06-2014, 08:51 PM
|
#6
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 09:29 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|