From b391e27a0f1ef954f5347ebdd1913b3bb953ad80 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 18 Mar 2019 15:32:06 +0300 Subject: Use persistent undo for vim --- .config/nvim/init.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.config/nvim') diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index af2cedc..62d24cb 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -149,6 +149,10 @@ set linebreak " wrap using 'breakat' character set splitbelow " new split panes will split to below and right set splitright +" persistent undo +set undodir=~/.vim/undodir +set undofile + " lower case searches ignore case, upper case searches do not set ignorecase set smartcase -- cgit v1.2.3-70-g09d2