X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=vimrc;h=f469e3992cbf67e99ebb03086af1050bea92c01c;hb=18ec810d344e350085d8dce1c0952cafadca8f9d;hp=de7dc05c18d5276e0781b0d6ecf7bbd054fc85a0;hpb=b6cad5071ec710a1a895409d6ae6312051bf063c;p=config%2Fdotfiles.git diff --git a/vimrc b/vimrc index de7dc05..f469e39 100644 --- 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.