Inserting vim commands (like :cd, :e, :term) do nothing. The little upper window appears when I insert :, and the autocomplete works, but after I press Enter nothing seems to happen.
macos Big Sur
oni2 v. 0.5.9-nightly | 0f1bf1e (the same issue appeared on different builds in the last two weeks at least)
It looks like the handling of map was incorrect, and in this case, it was running this binding when the command-line window was open - which would then cause the o<Esc> to be executed. This is a bug, since the map should only apply to normal/visual/select/operator pending modes.
__Issue:__ In #3049 , the `:map <Enter> o<Esc>` was being utilized even in command-line mode.
__Defect:__ `:map` should only impact normal/visual/select/operator-pending modes, and not impact insert/command-line modes.
__Fix:__ Correct the condition for the `:map` command. In addition, while looking through the logs, I realized we were missing trace logging of keybindings, so implement that as well.
Fixes#3049
Inserting vim commands (like
:cd
,:e
,:term
) do nothing. The little upper window appears when I insert:
, and the autocomplete works, but after I press Enter nothing seems to happen.Logs: trace.log
The text was updated successfully, but these errors were encountered: