How can I customize the line highlight color in Vim CtrlP? -


When I being highlighted as using Vim plugin I have a hard time to file the current file I Can open I want to be the main attraction line bright and vivid.

I can change the color of your CursorLine settings, but I do not want it to change everywhere. When I am editing files normally I want to be a subtle background-ish color to my main attraction cursor line.

How can I change the color of the attraction line in the CtrlP file selection buffer?

I've got a lead on a fix for this.

CtrlP provides called a setting Ctrlp_buffer_func , which you set the function to call every time CtrlP load and when it exits. . In my .vimrc file, I just set the highlight color to a bright and vivid colors to load CtrlP, and then when I quit CtrlP to set it back to my default

  let g: ctrlp_buffer_func = { 'Enter': 'BrightHighlightOn', 'Exit': 'BrightHighlightOff',} function BrightHighlightOn () Hi CursorLine guibg = darkred endfunction function BrightHighlightOff () Hi CursorLine guibg = # 191,919 endfunction  

Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -