Set timeoutlen and ttimeoutlen in vimrc.