You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It'd be nice if there was a setting for a condition function to be called to see if the mapping should be "applied". My usecase specifically is disabling it within TelescopePrompts
The text was updated successfully, but these errors were encountered:
mappings= {
i= {
j= {
k=function()
-- Escape insert mode when jk is pressedifvim.bo.filetype=='Yourfiletype' then-- Type 'jk' normally when inside filetype 'Yourfiletype'-- <c-v> is used to avoid mappingsreturn"<c-v>j<c-v>k"endreturn"<esc>"end
}
}
}
It'd be nice if there was a setting for a condition function to be called to see if the mapping should be "applied". My usecase specifically is disabling it within TelescopePrompts
The text was updated successfully, but these errors were encountered: