Your friend for GRE words and Vocabulary. Find here

vim editor

/vim editor

How to use nerd_tree.vim?

By |November 27th, 2013|

vim cheat sheet

By |May 5th, 2012|

Vim Commands Cheat Sheet

How to Exit

Quit Vim. This fails when changes have been made.

Quit without writing.

Quit always, without writing.

Write the current file and exit.

Write the current file and exit always.

:wq {file}
Write to {file}. Exit if not editing the last

:wq! {file}
Write to {file} and exit always.

[file] Same as above, but only write the lines in [range].

Write current file, if modified, and exit.

Quit current file and exit (same as “:q!”).



By |May 5th, 2012|

This is the main configuration file for Vim. It exists in two versions—global and personal.
The global vimrc file is placed in the folder where all your Vim system files are installed. You can find out the location of this folder by opening Vim and executing the following command in normal mode:
:echo $VIM
Examples could be:
Linux: /usr/share/vim/vimrc

The […]

Auto completion with known words in vim

By |May 5th, 2012|

Almost no matter what you are writing, you will eventually write the same words over and over again. In Vim, you can simply type in the first couple of letters of the word and then press Ctrl-n.
You want to write the sentence:

“I have beautiful flowers in my flower garden.”

Since you have no text besides this […]