diff options
author | David Hong <davidhong.code@gmail.com> | 2012-07-12 18:04:32 +1000 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2012-07-12 10:15:45 +0200 |
commit | b4f677b7dc6049561834b9530dbbea77306ce3d8 (patch) | |
tree | e075ff4459ddac7da9fc236c66fce1376fa95d14 /.vimrc | |
parent | c53f22232ea2e5c891da5135837bd705f4328049 (diff) | |
download | dotfiles-b4f677b7dc6049561834b9530dbbea77306ce3d8.tar.gz dotfiles-b4f677b7dc6049561834b9530dbbea77306ce3d8.tar.bz2 dotfiles-b4f677b7dc6049561834b9530dbbea77306ce3d8.zip |
.vimrc: Respect modeline by default
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,4 +1,4 @@ -" Make vim more useful +" Make Vim more useful set nocompatible " Use the OS clipboard by default (on versions compiled with `+clipboard`) set clipboard=unnamed @@ -26,6 +26,9 @@ if exists("&undodir") set undodir=~/.vim/undo endif +" Respect modeline in files +set modeline +set modelines=4 " Enable line numbers set number " Enable syntax highlighting @@ -53,7 +56,7 @@ set noerrorbells set nostartofline " Show the cursor position set ruler -" Don’t show the intro message when starting vim +" Don’t show the intro message when starting Vim set shortmess=atI " Show the current mode set showmode |