> Else somebody please tell me how to re-define (F2) function key and/or > Ctrl-S in vim, so these pepople can also habitually use these key to > save the documents, manually. Atleast no learning curve for M$ people.
This one is easy. Add the following line to your .vimrc file: map ^[OQ :w!^M ^[0Q corresponds to the F2 key. ^M corresponds to typing enter Here are the exact keystrokes you need to get those characters onto your ..vimrc: map <ctl-v><F2> <space> <:w!q><ctrl-v><enter> [Note: I use the <notation> to easily identify groupings. You SHOULD NOT actually type in the <'s and <'s.] Thaths ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
