hackmdio / codimd

CodiMD - Realtime collaborative markdown notes on all platforms.
https://hackmd.io/c/codimd-documentation
GNU Affero General Public License v3.0
9.24k stars 1.05k forks source link

vim editing mode, can't press escape. #1361

Open dessalines opened 4 years ago

dessalines commented 4 years ago

When pressing escape in vim edit mode, it follows the browser escape. How do I exit mode?

Yukaii commented 4 years ago

Hi @dessalines , do you have any browser vim extension installed? It might be one reason that causes this.

dessalines commented 4 years ago

Nope, just regular old firefox, which treats the escape key as losing focus from the browser window.

thor314 commented 1 year ago

Echoing this bug, using flatpak firefox on PopOS.

Couldn't use vim-mode as escape goes to browser escape. Disabled Vimium-C extension for the page, escape now works as expected. Might be nice to have Ctrl-C also go to escape, though I suspect that might significantly increase the complexity of your vim-bindings feature if allowing users to customize their hackmd vim bindings.