Sunday, September 30, 2012

DOWNLOADING AND INSTALLING THE gVIM TEXT EDITOR

GVIM (MICROSOFT WINDOWS VIM TEXT EDITOR) TUTORIAL



REVISED: Sunday, March 3, 2013




In this tutorial, you will learn how to download  and install GVim, the Microsoft Windows Vim text editor.

I. DOWNLOADING AND INSTALLING GVIM

To download GVim, the Microsoft Windows Vim text editor, click on the following link:

 GVim.

Select the appropriate download for your computer; and during the download, select the option which places a GVim icon on your desktop. You will then be able to "double left mouse click" the GVim icon as a shortcut when you want to start GVim.

During the download, select all of the defaults.

II. TESTING DOWNLOAD AND INSTALLATION

Start GVim by "double left mouse clicking" the GVim icon on your desktop.




When you see the above window, you have successfully downloaded and installed GVim, and you are ready to begin using your GVim text editor.

III.  INTRODUCTION TO GVIM

GVim is the very powerful Vim text editor for Microsoft Windows.

A. GVIM MODES

GVim has two main modes: "insert mode" and "command mode". When you start GVim, you are in "command mode". To enter "insert mode", press the letter "i" key on your keyboard. To return to "command mode", press the "Esc" key on your keyboard. GVim commands are usually prefixed with a ":" colon. For example, to save to a file from command mode, type :w filename.filetype and press Enter. To write to the file and exit the text editor, type :wq and press Enter. To Save to the file, type :w and press Enter. To quit GVim and exit the text editor, type :q and press EnterType the "ZZ" keys (Shift+z Shift+z) and press Enter, to Save to the file and exit GVim.

B. COMMAND MODE NAVIGATION

Navigation is done from "command mode" and the home row of your keyboard. To move one character left, press the "h" key. To move one character right, press the "i" key. To move down, press the "j" key. To move up, press the "k" key. To move one word left, press the "b" key. To move one word right, press the "w" key. To move to the start of a line, press the "^" key (6 key on most keyboards). To move to the end of a line, press the "$" key (4 key on most keyboards).

Press the "x" key to delete the character under the cursor.

Press the "c" key to change the character under the cursor.  (You will move into insert mode which will allow you to type a new character.)

Press the "d" key twice (dd), to delete the current line.

Press the "u" key, to "undo". Press "Ctrl+r", to "redo".

Press the "y" key twice (yy), to copy the current line. Press the "p" key, to paste the contents after the cursor.

Searching is case sensitive. Type /wordtosearch (without a ":" colon at the start), to search for "wordtosearch". Press the "n" key, for the next occurrence of "wordtosearch".  Type the "N" key (Shift+n), to search for the previous occurrence of "wordtosearch".

In this tutorial, you have learned how to download and install GVim, the Microsoft Windows Vim text editor.

Elcric Otto Circle




-->



-->



-->





 







How to Link to My Home Page

The link will appear on your website as:

"Link to: ELCRIC OTTO CIRCLE's Home Page"