From a3468a71fb93fa05add6d558fdceb39d88578b4a Mon Sep 17 00:00:00 2001 From: surtur Date: Sun, 30 Oct 2022 03:45:03 +0100 Subject: [PATCH] vimrc: set nogdefault --- .vim/vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.vim/vimrc b/.vim/vimrc index 278f525..4ff1ec6 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -1204,6 +1204,10 @@ set t_RV= " automatically cd (autocd) to dir current file is in set autochdir +" default; :%s/// replaces one; /g replace all; /gg replace one +" note: deprecated in Vim9 script +set nogdefault + " persistent undo history (even if close buffer) " Save undos after file closes set undofile