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' |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|