From f6f30604484fc7819c4f4e3bc4edd23aed4998fd Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Fri, 23 Aug 2019 23:09:07 +0100 Subject: [PATCH] Check for viminfo and wildmenu support --- vimrc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/vimrc b/vimrc index 66b9f00..aa8dce0 100644 --- a/vimrc +++ b/vimrc @@ -72,8 +72,6 @@ set textwidth=78 set ttimeout set ttimeoutlen=100 set ttyfast -set viminfo="NONE" -set wildmenu set wrap " ====================================================================== @@ -160,6 +158,14 @@ if has("syntax") syntax on endif +if has("viminfo") + set viminfo="NONE" +endif + +if has("wildmenu") + set wildmenu +endif + " ====================================================================== " End of config file. " vim:set ft=vim: