Vim Tips Wiki
No edit summary
(standard format)
Line 1: Line 1:
  +
{{ScriptComments|53|colorize: change background color when in insert mode}}
  +
 
==Breaks minibufexplr==
 
==Breaks minibufexplr==
 
Executing the following remap:
 
Executing the following remap:
Line 6: Line 8:
 
line 11:
 
line 11:
 
E21: Cannot make changes, 'modifiable' is off
 
E21: Cannot make changes, 'modifiable' is off
Any solutions ? Or other ways to intercept a mode change ?
+
Any solutions? Or other ways to intercept a mode change?
  +
  +
==Comments==

Revision as of 09:57, 14 July 2010

Use this page to discuss script 53 53

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

Breaks minibufexplr

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?

Comments