Home » 2014 » December » 22

Its very strange and delightful to see that when you press F9 in side vi editor, a backup copy of the file is created or when you press F8, the xml file is formatted in readable form.

It is always useful when we map certain keys usually function keys inside VI editor to make our work easy.
 


In this very article, we shall learn how to map keyboard keys inside vi editor to execute certain commands.

The basic syntax to create mapping is:

cmd attribute lhs rhs

  • cmd           :map, :map!, :unmap, :unmap!,
  • a ... Read more »
Category: Open System-Linux | Views: 1391 | Added by: shanky | Date: 2014-12-22 | Comments (0)