diff --git a/dumux/geometry/boundingboxtree.hh b/dumux/geometry/boundingboxtree.hh
index b9afa8ce463dbaf254e688859a77cf0cd625fd42..638e74de73cc5725a906b053e6265b7348a24420 100644
--- a/dumux/geometry/boundingboxtree.hh
+++ b/dumux/geometry/boundingboxtree.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/geometry/boundingsphere.hh b/dumux/geometry/boundingsphere.hh
index 993f02c87b1d1fa2e398156049a2b28eb4ac4d08..6118bcbdbcd37359ecc823b821634daa81108a1f 100644
--- a/dumux/geometry/boundingsphere.hh
+++ b/dumux/geometry/boundingsphere.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/geometry/circumsphere.hh b/dumux/geometry/circumsphere.hh
index e7bd64d7d0b0704d5b58a10a97874c9f965cdca5..d5f6b0d16dc4029b8e17b2e6bb28a5d2a43605fa 100644
--- a/dumux/geometry/circumsphere.hh
+++ b/dumux/geometry/circumsphere.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/geometry/diameter.hh b/dumux/geometry/diameter.hh
index 8f4eed920295cb1676755fca486d511e6a3f3aaa..eb6aa040fd41a72438d43f1d329cda92b71dedab 100644
--- a/dumux/geometry/diameter.hh
+++ b/dumux/geometry/diameter.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/geometry/distance.hh b/dumux/geometry/distance.hh
index faa1b7840411765a62f1e487d6d4922da90436e2..b3950173bc533911745ad368971166fa3fecd87e 100644
--- a/dumux/geometry/distance.hh
+++ b/dumux/geometry/distance.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/geometry/geometricentityset.hh b/dumux/geometry/geometricentityset.hh
index 61befc74aa8c8ee73689b06200d64d9ff367d920..267b523a2d8cfdc4dd0bc134175f2427dcc350e2 100644
--- a/dumux/geometry/geometricentityset.hh
+++ b/dumux/geometry/geometricentityset.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/geometry/geometryintersection.hh b/dumux/geometry/geometryintersection.hh
index e4c9307a98381457cf058445bb9373d7965f3722..6fdd29c1f3d3cf877c1660fec1be064a8e4a718e 100644
--- a/dumux/geometry/geometryintersection.hh
+++ b/dumux/geometry/geometryintersection.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/geometry/grahamconvexhull.hh b/dumux/geometry/grahamconvexhull.hh
index 98fbfff3b5f2d2bb0501431ae0d26b39b127db08..aa0c92f875a6bb1312e96e059f4cf6c80d94c6b3 100644
--- a/dumux/geometry/grahamconvexhull.hh
+++ b/dumux/geometry/grahamconvexhull.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/geometry/intersectingentities.hh b/dumux/geometry/intersectingentities.hh
index 05b95fd23920dadad347681c0bcc71495bf23963..c2ad56d9734b6102fd2645805ec34264fb6db695 100644
--- a/dumux/geometry/intersectingentities.hh
+++ b/dumux/geometry/intersectingentities.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/geometry/intersectspointgeometry.hh b/dumux/geometry/intersectspointgeometry.hh
index d92ade60424fba103bfdde9922e9d4202c7bc795..ae19e08d56642870d1973e3ded503394b7edf8f7 100644
--- a/dumux/geometry/intersectspointgeometry.hh
+++ b/dumux/geometry/intersectspointgeometry.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/geometry/intersectspointsimplex.hh b/dumux/geometry/intersectspointsimplex.hh
index b4ffb3fdbfc51bf27b8ac58ccf8422f133747367..422da7f8d0bed0898f6d0d26573cb031f54c79a5 100644
--- a/dumux/geometry/intersectspointsimplex.hh
+++ b/dumux/geometry/intersectspointsimplex.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/geometry/makegeometry.hh b/dumux/geometry/makegeometry.hh
index 680951b9e81ed3bf925fca42a885d42c7aa6d8b8..ed408009022ae55fa274a7547dcdcc36722914ce 100644
--- a/dumux/geometry/makegeometry.hh
+++ b/dumux/geometry/makegeometry.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/geometry/normal.hh b/dumux/geometry/normal.hh
index a6e95ecb170b8c75a6df877f8667742f85585ee7..108ba7ebeda3c9dfeff7cac17ed4278865dbffdb 100644
--- a/dumux/geometry/normal.hh
+++ b/dumux/geometry/normal.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/geometry/sphere.hh b/dumux/geometry/sphere.hh
index 60e2500aaefa8ab72aeb412be0bdc4b1f8d673a0..413d967e16b7141d3a039869c0741ce99a73fd7b 100644
--- a/dumux/geometry/sphere.hh
+++ b/dumux/geometry/sphere.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/geometry/triangulation.hh b/dumux/geometry/triangulation.hh
index 5caf0baa1ccd1706f3891003d837bfd06a7afd66..45d374ccd880fff27cdd94ef9a7fe5122211c697 100644
--- a/dumux/geometry/triangulation.hh
+++ b/dumux/geometry/triangulation.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/io/vtksequencewriter.hh b/dumux/io/vtksequencewriter.hh
index f03a8c1334a412822cab67deb259cefb72a34d54..c74dd8bb7afc65d3464c4c6a1efdc556ad496732 100644
--- a/dumux/io/vtksequencewriter.hh
+++ b/dumux/io/vtksequencewriter.hh
@@ -1,5 +1,21 @@
 // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
 // vi: set et ts=4 sw=2 sts=2:
+/*****************************************************************************
+ *   See the file COPYING for full copying permissions.                      *
+ *                                                                           *
+ *   This program is free software: you can redistribute it and/or modify    *
+ *   it under the terms of the GNU General Public License as published by    *
+ *   the Free Software Foundation, either version 3 of the License, or       *
+ *   (at your option) any later version.                                     *
+ *                                                                           *
+ *   This program is distributed in the hope that it will be useful,         *
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of          *
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the            *
+ *   GNU General Public License for more details.                            *
+ *                                                                           *
+ *   You should have received a copy of the GNU General Public License       *
+ *   along with this program.  If not, see <http://www.gnu.org/licenses/>.   *
+ *****************************************************************************/
 /*!
  * \file
  * \ingroup InputOutput
diff --git a/dumux/material/fluidmatrixinteractions/2p/interfacialarea/exponential.hh b/dumux/material/fluidmatrixinteractions/2p/interfacialarea/exponential.hh
index 4d3b6b2b81439865bbda73ee94bbe833314ada5e..b7608abd2182b5b83e1038c2bc9d7bf48ee84c4e 100644
--- a/dumux/material/fluidmatrixinteractions/2p/interfacialarea/exponential.hh
+++ b/dumux/material/fluidmatrixinteractions/2p/interfacialarea/exponential.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/material/fluidmatrixinteractions/2p/interfacialarea/exponentialcubic.hh b/dumux/material/fluidmatrixinteractions/2p/interfacialarea/exponentialcubic.hh
index 131912dcfb719cf719e77de174263cf304527318..85975a4dcd6407ead993116c8f129cd95c18dd76 100644
--- a/dumux/material/fluidmatrixinteractions/2p/interfacialarea/exponentialcubic.hh
+++ b/dumux/material/fluidmatrixinteractions/2p/interfacialarea/exponentialcubic.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/material/fluidmatrixinteractions/2p/interfacialarea/pcmax.hh b/dumux/material/fluidmatrixinteractions/2p/interfacialarea/pcmax.hh
index e77234ecc6b90d6a9d393395eece4a88588efc53..e40e6d26f3cf47a07e75efd4d1fa56f20fd7906d 100644
--- a/dumux/material/fluidmatrixinteractions/2p/interfacialarea/pcmax.hh
+++ b/dumux/material/fluidmatrixinteractions/2p/interfacialarea/pcmax.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/material/fluidmatrixinteractions/2p/interfacialarea/polynomial2ndorder.hh b/dumux/material/fluidmatrixinteractions/2p/interfacialarea/polynomial2ndorder.hh
index 05f4243a694ff556e276775194e9cb8cdbf5fda5..203dc6e46970757cfaa0c2e89e175d14fa24de88 100644
--- a/dumux/material/fluidmatrixinteractions/2p/interfacialarea/polynomial2ndorder.hh
+++ b/dumux/material/fluidmatrixinteractions/2p/interfacialarea/polynomial2ndorder.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/material/fluidmatrixinteractions/2p/interfacialarea/polynomialedgezero2ndorder.hh b/dumux/material/fluidmatrixinteractions/2p/interfacialarea/polynomialedgezero2ndorder.hh
index 4c07969b9002d3f738237919ab2105ad45e870da..9f4c9814b8417d96b5cd01db7324199386ec0386 100644
--- a/dumux/material/fluidmatrixinteractions/2p/interfacialarea/polynomialedgezero2ndorder.hh
+++ b/dumux/material/fluidmatrixinteractions/2p/interfacialarea/polynomialedgezero2ndorder.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/multidomain/facet/box/couplingmapper.hh b/dumux/multidomain/facet/box/couplingmapper.hh
index a7d4ecb59edfa8920e813e01f1b1fbe1897f498f..7133d1c1f13a32fc3ee47c9086fbc808a13b50f7 100644
--- a/dumux/multidomain/facet/box/couplingmapper.hh
+++ b/dumux/multidomain/facet/box/couplingmapper.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/multidomain/facet/cellcentered/mpfa/couplingmapper.hh b/dumux/multidomain/facet/cellcentered/mpfa/couplingmapper.hh
index d1b14615f2ea0d8744aa7543cbde61b84d98eb7d..4bc14c0c467bd2a781b113b13345ffa002678026 100644
--- a/dumux/multidomain/facet/cellcentered/mpfa/couplingmapper.hh
+++ b/dumux/multidomain/facet/cellcentered/mpfa/couplingmapper.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/multidomain/facet/cellcentered/tpfa/couplingmapper.hh b/dumux/multidomain/facet/cellcentered/tpfa/couplingmapper.hh
index b9654486b9cce31b14b625da82589002c832f80b..628928f845d7d4dd776620a3e09f5211a1396636 100644
--- a/dumux/multidomain/facet/cellcentered/tpfa/couplingmapper.hh
+++ b/dumux/multidomain/facet/cellcentered/tpfa/couplingmapper.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/multidomain/facet/couplingmapper.hh b/dumux/multidomain/facet/couplingmapper.hh
index c65fe498fbd9983da093d2e2290713eba0588194..26ee54e0303b5408c80412dbfade6dea45dfefc8 100644
--- a/dumux/multidomain/facet/couplingmapper.hh
+++ b/dumux/multidomain/facet/couplingmapper.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/multidomain/facet/couplingmapperbase.hh b/dumux/multidomain/facet/couplingmapperbase.hh
index da4e3dccba3cbe2a603a672546c6dda1faf67bf7..03bf9488322c4c682b2ff8e67d4d33a1b1b21506 100644
--- a/dumux/multidomain/facet/couplingmapperbase.hh
+++ b/dumux/multidomain/facet/couplingmapperbase.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/multidomain/facet/gmshreader.hh b/dumux/multidomain/facet/gmshreader.hh
index af4c43d0b7bf509a395a472ff890cdb1c3d73fd5..4cddfe68c896e1193e0a9806c64582ac1f82ed4e 100644
--- a/dumux/multidomain/facet/gmshreader.hh
+++ b/dumux/multidomain/facet/gmshreader.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/multidomain/facet/gridmanager.hh b/dumux/multidomain/facet/gridmanager.hh
index 304b94eb0613e4bd8726953f2a990e14d8b16f66..d0758da733f1098e55e0714b11f11eddea0ac71d 100644
--- a/dumux/multidomain/facet/gridmanager.hh
+++ b/dumux/multidomain/facet/gridmanager.hh
@@ -1,3 +1,5 @@
+// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *
diff --git a/dumux/porousmediumflow/nonequilibrium/thermal/localresidual.hh b/dumux/porousmediumflow/nonequilibrium/thermal/localresidual.hh
index 173b9ef28cc7f6412ad3bd8cb9ed3374fff2836c..7e3a8d95375791e60a494f5305f715de1ca0cbe7 100644
--- a/dumux/porousmediumflow/nonequilibrium/thermal/localresidual.hh
+++ b/dumux/porousmediumflow/nonequilibrium/thermal/localresidual.hh
@@ -1,4 +1,5 @@
 // -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+// vi: set et ts=4 sw=4 sts=4:
 /*****************************************************************************
  *   See the file COPYING for full copying permissions.                      *
  *                                                                           *