Solved

vertical split screen in vim or emacs

Posted on 2006-07-13
4
2,963 Views
Last Modified: 2013-12-16
Does anyone know how to do a vertical split screen of file1 with file2 in vim or emacs?
0
Comment
Question by:bryanlloydharris
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 24

Assisted Solution

by:slyong
slyong earned 300 total points
ID: 17105753
Hi

For vim:

$ vi -O file1.txt file2.txt
Use Ctrl-W l to move to the right window and Ctrl-W h to move to the left.

0
 
LVL 24

Accepted Solution

by:
slyong earned 300 total points
ID: 17105757
Sorry.. submitted too fast.. or:

$ vi file1.txt
then in vi,
:vsplit file2.txt
0
 
LVL 3

Author Comment

by:bryanlloydharris
ID: 17110493
thanks
0
 
LVL 24

Expert Comment

by:slyong
ID: 17111346
You are very welcome.  Thanks for the points
0

Featured Post

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question