At least on nvim-qt, <c-[> or ^[ can't be mapped without mapping <ESC> as well (as it usually translates to it!

1 Answer 1


<esc> is not translated like this in lua, so use lua to map esc to itself!

local opts = { noremap=true, silent=true }


nmap <c-[> <Plug>Lightspeed_S

I tried this only on nvim-qt + Windows.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.