[H-GEN] vim question

Jason Parker-Burlingham jasonp at uq.net.au
Wed Oct 23 12:14:48 EDT 2002


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

Robert Stanford <rob at rotapile.com> writes:

> Quite often when I paste into a file with the middle mouse button each
> successive line is indented one step further than the previous.

It's vim's autoindent setting.

Try issuing the ":set noai" command before pasting, and ":set ai"
after.
-- 
||----|---|------------|--|-------|------|-----------|-#---|-|--|------||
| ``It's just a big electric typewriter.''                              |
|                                                                       |
||--|--------|--------------|----|-------------|------|---------|-----|-|

--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list