Wednesday, November 18, 2015

Re: Disable all autointending a part of the simplest one

Yes, the problem was I had to activate filetype indent for some
plugin and I never disabled it, so the value of indentexpr was
changed.

Thanks a lot!

On Tue, Nov 17, 2015 at 5:55 PM, Gary Johnson <garyjohn@spocom.com> wrote:
> On 2015-11-17, Paolo Bolzoni wrote:
>> Dear list,
>>
>> I would like to disable all the "smart" auto indenting. I just want
>> the cursor to align to the previous line non space character. I will
>> press tab or << to fix in the case it is wrong.
>>
>> I set this lines from the wiki in the ~/.vimrc, but it is not enough.
>>
>> set autoindent
>> set nocindent
>> set nosmartindent
>> set indentexpr=
>>
>> What should I check? Am I missing some other settings?
>
> If you have filetype detection enabled (e.g., by "filetype on"),
> filetype indent plugins may set some of those automatically. Try
> putting this in your ~/.vimrc as well:
>
> filetype indent off
>
> See
>
> :help :filetype-indent-off
>
> HTH,
> Gary
>
> --
> --
> 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.

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