[vim] Disable insert mode if document is readonly
Fire DOM event from contextmenu handler

Issue #1674
[real-world used] Add CodeZample
[closebrackets addon] Do not insert pair of quotes right after the word