Adding pastetoggle switch and fixed the lines that have to do with editing and saving the vimrc file quickly.