?
Solved

vertical split screen in vim or emacs

Posted on 2006-07-13
4
Medium Priority
?
2,971 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 1200 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 1200 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

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

650 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