Write current key mappings and changed options to [file]. If no [file] is specified then ~/.vimperatorrc is written unless this file already exists. The special version :mkvimperatorrc! will overwrite [file] if it exists.
Warning: this differs from Vim's behavior which defaults to writing the file in the current directory.