New answers tagged

0

You can turn on search match highlights like this. :set hlsearch To turn it off until the next time you search, use this. :noh To change highlight to a specific color: :hi Cursor guibg=#rrggbb or :hi Search guibg=<colorname>


7

You can do this with the vim-gitgutter plugin. If you're not using git, then Signify has a similar feature. After installing vim-gitgutter, you can switch the highlighting on and off with the following commands: turn on with :GitGutterLineHighlightsEnable turn off with :GitGutterLineHighlightsDisable toggle with :GitGutterLineHighlightsToggle. Or, to ...


Top 50 recent answers are included