Map <F4> key to the toggle paste mode.