On 08.10.15 14:56, Sonny Chee wrote:
>
> But all of the text is auto-indented. Any help would be appreciated
Have you tried "set paste", instead?
If pasting from the X Clipboard, there's also: "+p
(That was "*p in old Vim versions, IIRC.)
Erik
--
--
You received this message from the
On Fri, Oct 09, 2015 at 06:27:15PM +1100, Erik Christiansen wrote:
> (That was "*p in old Vim versions, IIRC.)
Are you sure? According to the Vim help, "* is the primary X
selection and "+ is the X clipboard.
Regards
Simon
--
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key
On Thursday, October 8, 2015 at 4:56:20 PM UTC-5, Sonny Chee wrote:
> Hey Guys,
>
> When I want to insert text from my clipboard, I turn off auto-indenting with
> the following:
>
> :setl noai nocin nosi inde=
>
> That works great.
>
> I'm working on a vimscript that inserts (prettily)
Thanks guys for the pointer to :set paste. Also appreciate the help
debugging the issue with my script Ben.
On Fri, Oct 9, 2015 at 7:26 AM, Ben Fritz wrote:
> On Thursday, October 8, 2015 at 4:56:20 PM UTC-5, Sonny Chee wrote:
> > Hey Guys,
> >
> > When I want to
Hey Guys,
When I want to insert text from my clipboard, I turn off auto-indenting with
the following:
:setl noai nocin nosi inde=
That works great.
I'm working on a vimscript that inserts (prettily) formatted text into a
buffer. I tried to execute the above before the inserts with the