©2018 by Zach Pfeffer

SEARCH THIS SITE

Practice Splitting a Window Horizontally and Vertically, Moving Between the Windows and Closing Them in Vim

April 3, 2018

 

This post allows you to practice splitting a window horizontally and vertically, moving between the windows and closing the windows.

 

TL;DR

 

Steps

 

1. Run Vim

You'll see:

 

2. Split the screen horizontally by typing:

You'll see the following. The cursor will be where the yellow arrow points.

Note: the cursor is in the upper window

 

3. Split the screen vertically by typing:

 You'll see the following. The cursor will be where the yellow arrow points.

Note: the cursor is in the upper left window

 

4. Move right by typing:

 You'll see the following. The cursor will be where the yellow arrow points.

 

5. Move down by typing:

 You'll see the following. The cursor will be where the yellow arrow points.

 

6. Move up by typing: 

 You'll see the following. The cursor will be where the yellow arrow points.

 

7. Close the window by typing:

 You'll see the following. The cursor will be where the yellow arrow points.

 

8. Close the other window by typing:

 You'll see the following. The cursor will be where the yellow arrow points.

 

9. Quit Vim by typing:

 

 

Alternative Split Commands*

 

Horizontal Split
Vertical Split

 

Reference

  • *Thanks alfunx and others that replied to my reddit post for the alternative split commands

  • Used Windows Vim

  • The Vim logo is from link

 

Please reload

Our Recent Posts

Army 20.1 SBIR TABA Funding Clarification: is $5k "On Top" of the $167,500 Available?

February 18, 2020

Contents of DoD SBIR/STTR 20.1 Cost Volume Info Pop-Ups: Fringe Benefits, Fully Loaded Labor Rate, etc. and Labor Categories

February 9, 2020

Finding Resources for Learning about Fringe, Overhead and General Management and Administration (G&A) Cost Allocation for Army SBIR Proposals

February 8, 2020

1/1
Please reload

Tags

Please reload