Add silent to nnoremap <esc>.