aboutsummaryrefslogtreecommitdiff
path: root/vim/config/file.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-28 22:20:58 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-28 22:20:58 +1300
commit68de17180ef3fd9233ab45792a963aab42ed8103 (patch)
treea03518779e41833af4fba1381d70f7cdcd22cd91 /vim/config/file.vim
parentMove startup .vimrc config into subfile (diff)
downloaddotfiles-68de17180ef3fd9233ab45792a963aab42ed8103.tar.gz
dotfiles-68de17180ef3fd9233ab45792a963aab42ed8103.zip
Move 'modeline' .vimrc setting to file.vim subfile
Diffstat (limited to 'vim/config/file.vim')
-rw-r--r--vim/config/file.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/config/file.vim b/vim/config/file.vim
index 417f7ca8..0e2f2e96 100644
--- a/vim/config/file.vim
+++ b/vim/config/file.vim
@@ -20,6 +20,10 @@ set autoread
" 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
+
" I really like ZZ and ZQ, so I wrote a couple more mappings; ZW forces a
" write of the current buffer, but doesn't quit, and ZA forces a write of all
" buffers but doesn't quit