.vimrc: Improve ChangeLastModified function
.vimrc: Added function to preserve search history and cursor position before running command