Skip to content

arakashic/highlight.vim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

This is a mirror of http://www.vim.org/scripts/script.php?script_id=1599

   Line mode
     <C-s><C-h>   Highlight current line 
     <C-s><C-a>   Advance color for next line highlight
     <C-s><C-r>   Clear last line highlight

   Pattern mode
     <C-s><C-w>   Highlight word under cursor (whole word match)
     <C-s><C-l>    Highlight all lines having word under cursor (whole word match)
     <C-s><C-f>    Highlight word under cursor (partial word match)
     <C-s><C-k>   Highlight all lines having word under cursor (partial word match)
     <C-s><C-s>   Highlight last search pattern
     <C-s><C-j>    Highlight all lines having last search pattern
     <C-s><C-d>   Clear last pattern highlight 

     <C-s><C-n>   Clear all highlights

   All above commands work in both normal & insert modes.
   <C-h><C-h> also works in visual mode. (Select desired lines & hit <C-h><C-h>)


About

Highlight lines or patterns of interest in different colors

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vim Script 100.0%