11

For some websites, which grab the focus to a textarea, it's not even possible to exit the "insert" mode in any other way except doing a mouse-click outside the textarea.

Is there any common workaround for this problem?

jdevelop
  • 12,176
  • 10
  • 56
  • 112

3 Answers3

6

You can use Ctrl-[ to exit insert mode.

nonameentername
  • 434
  • 7
  • 8
  • On Hungarian keyboard the [ character can be reached as AltGr+f. And Ctrl+AltGr+f not works to escape from insert mode. :-( – Arpad Horvath -- Слава Україні Oct 14 '15 at 17:03
  • But now I haven't entered command mode in the text area, I have simply stopped editing the text area. Is this expected? I'm trying to use Firefox and Vimperator simply for a permanent vim-mode in text areas. How to enable? Thanks :) – Thomson Comer Apr 06 '18 at 20:01
1

For those who cannot reach [ directly on the keyboard, I managed to map Ctrl-[ to Ctrl-#:

:imap <C-#> <C-[>
Arnaud
  • 17,229
  • 3
  • 31
  • 44
Tobi
  • 11
  • 1
0

I use "b" in order to get the command line with buffers. then i replace "buffers" with "q".

toshi
  • 556
  • 1
  • 4
  • 8