[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pasting in Vi Console issue



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...