vimrc: added restore cursor function