Lines Matching refs:oldvimrc
39 char oldvimrc[BUFSIZE]; // name of existing vimrc file variable
785 strcpy(oldvimrc, installdir); in inspect_system()
786 strcpy(oldvimrc + runtimeidx, "_vimrc"); in inspect_system()
787 if ((fd = fopen(oldvimrc, "r")) == NULL) in inspect_system()
789 strcpy(oldvimrc + runtimeidx, "vimrc~1"); // short version of .vimrc in inspect_system()
790 if ((fd = fopen(oldvimrc, "r")) == NULL) in inspect_system()
792 strcpy(oldvimrc + runtimeidx, ".vimrc"); in inspect_system()
793 fd = fopen(oldvimrc, "r"); in inspect_system()
799 *oldvimrc = NUL; in inspect_system()
1180 if (*oldvimrc != NUL) in install_vimrc()
1181 fname = oldvimrc; in install_vimrc()
1301 if (*oldvimrc != NUL) in change_vimrc_choice()
1302 alloc_text(idx, "Do NOT change startup file %s", oldvimrc); in change_vimrc_choice()
1313 if (*oldvimrc != NUL) in change_vimrc_choice()
1314 alloc_text(idx, "Overwrite startup file %s with:", oldvimrc); in change_vimrc_choice()
1362 if (*oldvimrc == NUL) in init_vimrc_choices()
1376 choices[choice_count].active = (*oldvimrc == NUL); in init_vimrc_choices()
1383 choices[choice_count].active = (*oldvimrc == NUL); in init_vimrc_choices()
1390 choices[choice_count].active = (*oldvimrc == NUL); in init_vimrc_choices()