paste handler and ctrl+w