]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - vimrc
ftplugin/vimperator.vim: Fix doc typo.
[config/dotfiles.git] / vimrc
diff --git a/vimrc b/vimrc
index de7dc05c18d5276e0781b0d6ecf7bbd054fc85a0..f469e3992cbf67e99ebb03086af1050bea92c01c 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -11,6 +11,10 @@ set nocompatible
 set runtimepath-=~/.vim
 set runtimepath^=~/.vim,~/.vim/plugins,~/.vim/runtime
 
+" Disable modelines as they may cause security problems. Instead use
+" securemodelines (Vim script #1876).
+set nomodeline
+
 " When completing paths first use the longest path then display a list of all
 " possible files.
 set wildmode=longest,list
@@ -64,7 +68,7 @@ set formatoptions+=l
 set virtualedit=block
 
 " Already display matches while typing the search command. This makes spotting
-" errors easily.
+" errors easy.
 set incsearch
 
 " Activate syntax folding.