viper-electric-mode

viper-electric-mode is a variable defined in `viper-init.el'.
Its value is
t

  • Automatically becomes buffer-local when set.

Documentation:
If t, electrify Viper.
Currently, this only electrifies auto-indentation, making it appropriate to the
mode of the buffer.
This means that auto-indentation will depart from standard Vi and will indent
appropriate to the mode of the buffer. This is especially useful for editing
programs and LaTeX documents.

You can customize this variable.