[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pasting in Vi Console issue
- To: silug-discuss@silug.org
- Subject: Re: Pasting in Vi Console issue
- From: Tom Dison <fretinator@yahoo.com>
- Date: Thu, 31 Jan 2008 19:36:10 -0800 (PST)
- DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=jAEOQ4ZF+ymv6KNyaK13VqCjyH00lT7iE++mxJZpJIxes3I3C/6DnAi5P/HjJWjkTVVuuXVBirXQdzQT1Iv/i86wML0qMpF34mEopf4GSJ1dAETW9EzYaz0nIWQVfHIO10RGaaCa9VO4zinjUZQNLyYJto6R0PaUXPoPcVCv3ws=;
- In-Reply-To: <20080131234852.GA9672@osiris.silug.org>
- Organization: Southern Illinois Linux Users Group
- Reply-To: silug-discuss@silug.org
- Sender: silug-discuss-owner@silug.org
In vim, there is the option:
set paste
This will cause you code to paste correctly.
When your done:
set nopaste
Steven Pritchard <steve@silug.org> wrote: On Thu, Jan 31, 2008 at 02:20:04PM -0600, Travis Davies wrote:
> I am having an issue where whenever i paste some code into a vi console in
> gnome the code is pasted but the format of my code is severely distorted.
For whatever reason, autoindent is turned on.
:set noai
Steve
--
steve@silug.org | Southern Illinois Linux Users Group
(618)624-4440 | See web site for meeting details.
Steven Pritchard | http://www.silug.org/
-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the
body.
Faith without Works is Dead...