Table of Contents

Vim Tutorial

Opening Vim

A plain ol' vim opening

 lab46:~$ vim 

To open a file in vim with the filename file

 lab46:~$ vim file 

The -o option adds the ability to open mutliple windows at once. N is the number of windows to open. Replace -o with -O if you want to open the windows vertically. This can also be done with previously saved files. Omit the N and enter the file names after the -o.

 lab46:~$ vim -oN 

Saving in Vim

Switching Modes

Command Mode

Moving Around

Random Commands

Advance

(Split screening) Vim viewport keybinding quick reference

Original source

by bh011695