On Mo, 05 Nov 2018, Eli the Bearded wrote:
> If I use "vim --cmd ':set paste' filetoedit" when one of the
> exrc files[*] will "set autoindent", then I find autoindent is
> in effect when I start to edit.
>
> Tested with:
>
> VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Feb 17 2012 10:24:10)
> Included patches: 1-411
>
> VIM - Vi IMproved 8.1 (2018 May 18, compiled Sep 12 2018 12:55:00)
> Included patches: 1-216
>
> If I check ":set" then it shows paste is on, and with showmode I
> see "-- INSERT (paste) --", but it's not working how I expect "paste"
> to work.
>
> This is a bug, right? Or an unexpected (to me) problem with enabling
> autoindent after enabling paste?
It is unexpected at least. But the same happens when manually running
`:set autoindent` after having set paste mode. I am not sure we should
really disallow setting all those affected options if paste mode has
been set.
Best,
Christian
--
Wer nicht den Verstand seines Alters hat, der hat das ganze Unglück
seines Alters.
-- François Marie Voltaire
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment