gvim –u NONE –U NONE
Create file with 100 empty lines, line with {, 20 empty lines and line
with }:
:exe "normal i{\<CR>}\<Esc>20O\<Esc>j%100O\<Esc>j%"
Turn on matchparen plugin:
:set nocp
:source $VIMRUNTIME/plugin/matchparen.vim
Now cursor should be on the }, this line is the lowest line in the vim
window and both braces should be highlighted. Use mouse wheel to scroll
buffer down a bit, so that the line with } would disappear and cursor
would move several lines up.
Cursor is now on an empty line, but braces are still highlighted.
VIM - Vi IMproved 7.0 (2006 May 7, compiled Jun 24 2006 14:17:06)
MS-Windows 32 bit GUI version with OLE support
Included patches: 1-35