aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-20 22:39:12 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-20 22:39:12 +1200
commitd00c2b6f4c49515e06514386c1d6941e85bfd6a3 (patch)
treeb8f7cf474b283564e3e440c212563c8f0697dbce /vim/vimrc
parentAdd '**' to Vim 'path' rather than replacing it (diff)
downloaddotfiles-d00c2b6f4c49515e06514386c1d6941e85bfd6a3.tar.gz
dotfiles-d00c2b6f4c49515e06514386c1d6941e85bfd6a3.zip
Remove 'autoread' and 'autowrite' .vimrc settings
These seem like antipatterns, on reflection.
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc8
1 files changed, 0 insertions, 8 deletions
diff --git a/vim/vimrc b/vim/vimrc
index ce1e88cf..449fbab1 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -131,14 +131,6 @@ if has('file_in_path')
set path+=**
endif
-" If the Vim buffer for a file doesn't have any changes and Vim detects the
-" file has been altered, quietly update it
-set autoread
-
-" Save a file automatically if I change buffers or perform operations with the
-" argument list; this is particularly helpful for me as I don't use 'hidden'
-set autowrite
-
" Don't use modelines at all, they're apparently potential security problems
" and I've never used them anyway
set nomodeline