Vim Tips Wiki


1,624pages on
this wiki
Add New Page

Use this page to discuss script 53 colorize: change background color when in insert mode

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on
  • This page may be out of date: check the script's page above, and its release notes.

Breaks minibufexplrEdit

Executing the following remap:

noremap i :highlight Normal guibg=lightyellow<cr>i

will break mouse-click buffer change when using minibufexplr. The reported error is the following:

Error detected while processing function <SNR>7_MBEDoubleClick..<SNR>7_MBESelectBuffer..<SNR>7_GetSelectedBuffer:
line   11:
E21: Cannot make changes, 'modifiable' is off

Any solutions? Or other ways to intercept a mode change?


Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki