From d04a7828d3b820a63000ac71a414e941bd49fada Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Sun, 28 Sep 2014 09:31:52 +0200 Subject: [PATCH] disable read-only warning in vim --- vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vimrc b/vimrc index e41ae1c..6294ac2 100644 --- a/vimrc +++ b/vimrc @@ -92,6 +92,9 @@ au BufReadCmd *.epub call zip#Browse(expand("")) au syntax haskell setl omnifunc=necoghc#omnifunc let g:necoghc_enable_detailed_browse=1 +" disable annoying "file is read-only" warnings +au FileChangedRO * set noreadonly + se foldlevel=99 set vb " turn on the "visual bell" - which is much quieter than the "audio blink"