Hightlight first and last 2 lines after column 80: :autocmd VimEnter,WinEnter * :match Error /\v%>80v%<3l.*|%>80v.*%$|%>80v.*(\n.*%$)@=/ **Explanation**: - `%>80v%<3l.*` match everything after column 80 in first 2 lines - `%>80v.*%$` match everything after column 80 in last line - `%>80v.*(\n.*%$)@=/` match everything after column 80 in last second line - :help :match - :help /\%v - :help /\%l