fix(sidebar): correctly exit visual mode
Commit a9b01e7 ("chores: use stopinsert (#1745)") replaced uses of
vim.api.nvim_feedkeys(...) with proper commands to exit and enter insert
mode. However "stopinsert" does not help when editor is in visual mode.
Unfortunately there is no dedicated command to exit visual mode so we
have to go back to simulating keystrokes again. D
Dmitry Torokhov committed
0fe0f219e444d46fa3c32e14ad12a14f2ff76db0
Parent: e730260
Committed by yetone <yetoneful@gmail.com>
on 7/21/2025, 8:49:08 AM