Skip to content

Instantly share code, notes, and snippets.

@dahu
Created April 27, 2014 06:21
Show Gist options
  • Save dahu/11338846 to your computer and use it in GitHub Desktop.
Save dahu/11338846 to your computer and use it in GitHub Desktop.
Fog of War without SearchParty. He cries for your absence ;-(
hi FOW ctermfg=black ctermbg=NONE guifg=black guibg=NONE
call matchadd('FOW', '\%(.*\n\)\{1,20\}\ze\%(.*\n\)\{3\}.*\%#')
call matchadd('FOW', '.*\%#.*\%(\n.*\)\{3\}\zs\%(.*\n\)\{1,20\}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment