[Tuglist] Breaking a line

Amba P Kulkarni tuglist@tug.org.in
Fri, 28 Jun 2002 15:18:33 +0530 (IST)


Yes, It is possible.
	Just add the following line in your .vimrc
map F gq}

F can be either a character or a word to which you want to map the
command.

I have chosen F to mean 'format'.

-- Amba Kulkarni

On Fri, 28 Jun 2002, Nagesh Kini wrote:

> Dear Shree Sridhar
> 
>   Your suggestions for breaking the line were useful.
> Thank you very much. I would like to if it is possible
> to manipulate my .vimrc file or some other relevant
> file in such a way as to get the effect of "gq}" with
> a one word command. I mean, in other words is it
> possible to alias a vi command?
> 
> Thanking you
> YOurs sincerely
> Kini
> 
> ________________________________________________________________________
> Want to sell your car? advertise on Yahoo Autos Classifieds. It's Free!!
>        visit http://in.autos.yahoo.com
> 
> _______________________________________________
> http://tug.org.in/mailman/listinfo/tuglist
> Home:     http://www.tug.org.in
> Tutorial: http://www.tug.org.in/tutorials.html
> 

-- 
------------------------------------------------------------------------
Mrs.Amba P Kulkarni
Language Technologies Research Centre              Tel    : (040) 300 1412
International Institute of Information Technology  Fax    : (040) 300 1413
Gachibowli                                         Res.   : (040) 300 1978
Hyderabad - 500 019                                Email: amba@iiit.net
------------------------------------------------------------------------