?
Solved

vertical split screen in vim or emacs

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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month11 days, 22 hours left to enroll

752 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