Hello.

Is there way to map pressing <Esc> twice to something and not affecting
keys giving Esc sequences?

I tried
nnoremap <silent><Esc><Esc> :nohl<CR>

but if I press for example up arrow after first Esc, it gives strange
reuslts (its frist Esc is consumed, and other chars interpreted as if
there were no Esc before them).

Set timeoutlen and ttimeoutelen helps, but not completely.

Is ther a way to trigger map only if it is two <Esc>s and no keys after
them to avoid such effects?

-- 
Constantin Stefanov

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to