This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.
locallibmodal=require'libmodal'
-- register key commands and what they do
localfooModeKeymaps=
{
['']='echom "You cant exit using escape."',
q='let g:fooModeExit = 1'
}
-- tell the mode not to exit automatically
vim.g.fooModeExit=false
-- enter the mode using the keymaps created before