on very large files, vim will condense display - e.g.
+-- 8 lines: static inline void php_openssl_rand_add_timeval() --------------------------------------------------------------------------------------------------------------------------------------------------
#endif
+-- 29 lines: static int php_openssl_load_rand_file(const char * file, int *egdsocket, int *seeded) ---------------------------------------------------------------------------------------------------------------
+-- 22 lines: static int php_openssl_write_rand_file(const char * file, int egdsocket, int seeded) ----------------------------------------------------------------------------------------------------------------
+-- 45 lines: static EVP_MD * php_openssl_get_evp_md_from_algo(zend_long algo) { ----------------------------------------------------------------------------------------------------------------------------------
+-- 42 lines: static const EVP_CIPHER * php_openssl_get_evp_cipher_from_algo(zend_long algo) { --------------------------------------------------------------------------------------------------------------------
How do I get it to stop doing that? It didn't use to do that as far as I remember, seems to be new to me in CentOS 7 - either that or I previously had something in me .vimrc that prevented it and I just forgot.
I have tried searching but I just can't seem to get the proper search term to produce relevant results.
using it in a terminal shell, the only way I ever use it.
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-au...
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-au...
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, bit zR in the editor did. Now that I know what it is called I can probably search and figure out how to just turn it off, I don't like it.
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-au...
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
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-au...
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 ?
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-au...
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.
I have never run into this directly in vim for my uses, but it appears to me to be a syntactical coding plugin to condense related code blocks such as functions like GVim does. I think this is called code folding. Try the following link.
http://stackoverflow.com/questions/1744440/collapse-comments-and-all-functio...
On 10/29/2016 05:39 PM, Alice Wonder wrote:
on very large files, vim will condense display - e.g.
+-- 8 lines: static inline void php_openssl_rand_add_timeval()
#endif
+-- 29 lines: static int php_openssl_load_rand_file(const char * file, int *egdsocket, int *seeded)
+-- 22 lines: static int php_openssl_write_rand_file(const char * file, int egdsocket, int seeded)
+-- 45 lines: static EVP_MD * php_openssl_get_evp_md_from_algo(zend_long algo) {
+-- 42 lines: static const EVP_CIPHER * php_openssl_get_evp_cipher_from_algo(zend_long algo) {
How do I get it to stop doing that? It didn't use to do that as far as I remember, seems to be new to me in CentOS 7 - either that or I previously had something in me .vimrc that prevented it and I just forgot.
I have tried searching but I just can't seem to get the proper search term to produce relevant results.
using it in a terminal shell, the only way I ever use it. _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos