set ttimeoutlen=50 to reduce key code delay times in the terminal