diff --git a/vimrc b/vimrc index 3c20e2a..a016359 100644 --- a/vimrc +++ b/vimrc @@ -52,7 +52,6 @@ set nojoinspaces set nrformats-=octal set number set omnifunc=syntaxcomplete#Complete -set printoptions=paper:A4,duplex:off,header:0 set relativenumber set ruler set sessionoptions-=options @@ -128,6 +127,11 @@ if has("patch-7.4.710") set listchars+=space:ยท endif +if has("printer") + set printheader=%t%h%m%=Page\ %N + set printoptions=paper:A4,number:y,syntax:n +endif + if has("smartindent") set smartindent endif