sponsor Vim development Vim logo Vim Book Ad

highlight-groups.vim : Add words in highlight groups on the fly.

 script karma  Rating 5/2, Downloaded by 865  Comments, bugs, improvements  Vim wiki

created by
Antoine Madec
 
script type
utility
 
description
highlight-groups.vim
====================

Allow the user to add words in highlight groups on the fly. Each group has a different color.
The goal of this plugin is to allow the user to mark words and increase readabilty of certain lines of code.

https://raw.githubusercontent.com/antoinemadec/gif/master/highlightgroups.gif

Project home (latest version):
https://github.com/antoinemadec/vim-highlight-groups

Quick start guide
-----------------

Here is an example of mapping in your `.vimrc`:
nnoremap <silent> <F5> :HighlightGroupsAddWord 4 0<CR>
nnoremap <silent> <F6> :HighlightGroupsAddWord 6 0<CR>
nnoremap <silent> <S-F5> :HighlightGroupsClearGroup 4 0<CR>
nnoremap <silent> <S-F6> :HighlightGroupsClearGroup 6 0<CR>
nnoremap <silent> <C-F5> :HighlightGroupsAddWord 4 1<CR>
nnoremap <silent> <C-F6> :HighlightGroupsAddWord 6 1<CR>
nnoremap <silent> <C-S-F5> :HighlightGroupsClearGroup 4 1<CR>
nnoremap <silent> <C-S-F6> :HighlightGroupsClearGroup 6 1<CR>

Author
------

Inspired by Mario Trentini's highlights.vim
Antoine Madec: https://github.com/antoinemadec

License
------

Copyright (c) Antoine Madec. Distributed under the same terms as Vim itself. See :help license.
 
install details
Use your favorite plugin manager. Using vim-plug:
Plug 'antoinemadec/vim-highlight-groups'
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-highlight-groups-1.0.zip 1.0 2017-09-19 7.0 Antoine Madec Initial upload
ip used for rating: 142.132.191.50

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github