Exit visual mode without delay
问题 In Vim, when in visual mode, I have to press Esc twice to exit it and turn off the selection. After one press of Esc I have to wait 2 seconds for the selection to turn off. What can I do to exit visual mode immediately when typing Esc ? 回答1: Executing following command helped me: set timeoutlen=1000 ttimeoutlen=0 see: http://www.johnhawthorn.com/2012/09/vi-escape-delays/. 回答2: As Ingo explained. Just thought I would post the solution: https://github.com/Greduan/dotfiles/blob