Solved

vertical split screen in vim or emacs

Posted on 2006-07-13
4
2,960 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.:

696 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