From 8499fbf313340c7427d4cc4dad5b7298c5c4dbfd Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Tue, 30 Apr 2019 02:17:39 +0200 Subject: [PATCH] workaround for nvim truncating files on crash --- init.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/init.vim b/init.vim index 0b3e50a..b76dfe5 100644 --- a/init.vim +++ b/init.vim @@ -68,6 +68,7 @@ set nowrap " Disable line wrap set novb " Disable visual beep set nofoldenable " Disable folding +set fsync set nobackup " Disable ~backup set noswapfile " Disable swap files set writebackup " Enable temp backups