Re: Stupid vim question

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



On 10/29/2016 04:40 PM, Alice Wonder wrote:
On 10/29/2016 04:32 PM, Alice Wonder wrote:
On 10/29/2016 03:06 PM, Alice Wonder wrote:
On 10/29/2016 02:49 PM, Frank Cox wrote:
On Sat, 29 Oct 2016 14:39:03 -0700
Alice Wonder wrote:

How do I get it to stop doing that?

http://superuser.com/questions/278442/how-to-make-vim-not-fold-everything-automatically





Thank you, it appears the folding is the term I should have used in my
search.

Putting

set foldlevelstart=1

in the ~/.vimrc didn't seem to do anything


set nofoldenable

That in .vimrc works in the version of vim in CentOS 7 but allegedly it
still will fold in some contexts

Gah - that seems to work but now when doing a git commit I get a warning
that the option is recognized.

I do NOT get that warning when editing a file.

What the hell ever happened to KISS ?


git config --global core.editor vim

seemed to fix issue, seems by default git uses vi in some mode that doesn't understand that option.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux